GeostoreOpeningHoursProto

AI Overview😉

  • Potential purpose of the module: This module, GeostoreOpeningHoursProto, appears to be responsible for storing and managing opening hours information for businesses and establishments, including regular weekly hours and exceptions (e.g., holidays, special events). Its purpose is to provide accurate and up-to-date information about when a business is open or closed.
  • Impact on search results: This module could impact search results by influencing the visibility and relevance of businesses and establishments in search queries related to location, hours of operation, and availability. For example, if a user searches for "restaurants open on Sundays," the search results may prioritize businesses with Sunday hours listed in their GeostoreOpeningHoursProto data. Inaccurate or outdated opening hours information could lead to poor search results and user experience.
  • Optimization strategies for websites: To be more favorable for this function, websites can ensure that their opening hours information is accurate, up-to-date, and consistently formatted across all online platforms. This may involve:
    • Providing detailed and specific opening hours information, including exceptions and special events.
    • Using standardized formats for representing opening hours data (e.g., schema.org markup).
    • Regularly updating opening hours information to reflect changes in business operations.
    • Ensuring consistency in opening hours information across multiple online platforms, including Google My Business, website, and social media profiles.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

GoogleApi.ContentWarehouse.V1.Model.GeostoreOpeningHoursProto (google_api_content_warehouse v0.4.0)

Message to represent opening hours including regular weekly hours and a set of exceptions.

Attributes

  • exception (type: list(GoogleApi.ContentWarehouse.V1.Model.GeostoreExceptionalHoursProto.t), default: nil) - Date delimited exceptions to the typical recurring opening hours. May only be present if regular weekly hours are also specified.
  • regularHours (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreBusinessHoursProto.t, default: nil) - Typical recurring opening hours, expressed as a weekly schedule. NOTE: this field was introduced to have a more client-friendly format for representing weekly hours but, as of November 2018, it's not used for the main opening hours of TYPE_ESTABLISHMENT features (instead, the data is stored in the EstablishmentProto.hours field, see b/23105782 tracking the possible schema migration). It is however used in other contexts where OpeningHoursProto appears in the Geo Schema. In openinghours.h there is a utility function GetOpeningHoursFromFeature that merges EstablishmentProto.hours into this proto.

Summary

Types

t()

Functions

decode(value, options)

Unwrap a decoded JSON object into its complex fields.

Types

Link to this type

t()

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GeostoreOpeningHoursProto{
  exception:
    [GoogleApi.ContentWarehouse.V1.Model.GeostoreExceptionalHoursProto.t()]
    | nil,
  regularHours:
    GoogleApi.ContentWarehouse.V1.Model.GeostoreBusinessHoursProto.t() | nil
}

Functions

Link to this function

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.