SearchResultMetadata

public struct SearchResultMetadata : Codable, Hashable

SearchResult additional information, such as phone, website and etc. Extra metadata contained in data field as dictionary.

  • Metadata extra data.

    Declaration

    Swift

    public var data: [String : String]
  • Child metadata for a POI

    Declaration

    Swift

    public var children: [ResultChildMetadata]?
  • SearchResult primary photos

    Declaration

    Swift

    public var primaryImage: Image?
  • Additional photos

    Declaration

    Swift

    public var otherImages: [Image]?
  • Business phone number

    Declaration

    Swift

    public var phone: String?
  • Business website

    Declaration

    Swift

    public var website: URL?
  • Number of reviews

    Declaration

    Swift

    public var reviewCount: Int?
  • The average rating of the location, on a scale from 1 to 5.

    Declaration

    Swift

    public var rating: Double?
  • The average rating of the location, on a scale from 1 to 5. Deprecated: Please use the rating field for this value.

    Declaration

    Swift

    public var averageRating: Double?
  • Business opening hours

    Declaration

    Swift

    public var openHours: OpenHours?
  • Long form detailed description for POI.

    Declaration

    Swift

    public var description: String?
  • The price level of the location, represented by a string including dollar signs. The values scale from Cheap “$” to Most Expensive “$$$$”.

    Declaration

    Swift

    public var priceLevel: String?
  • A popularity score for the location, calculated based on user engagement and review counts. The value scales from 0 to 1, 1 being the most popular.

    Declaration

    Swift

    public var popularity: Float?
  • Indicates whether the location is accessible by wheelchair.

    Declaration

    Swift

    public var wheelchairAccessible: Bool?
  • Indicates whether the location offers delivery services.

    Declaration

    Swift

    public var delivery: Bool?
  • Indicates whether the location has a drive-through service.

    Declaration

    Swift

    public var driveThrough: Bool?
  • Indicates whether the location accepts reservations.

    Declaration

    Swift

    public var reservable: Bool?
  • Indicates whether parking is available at the location.

    Declaration

    Swift

    public var parkingAvailable: Bool?
  • Indicates whether valet parking services are offered.

    Declaration

    Swift

    public var valetParking: Bool?
  • Indicates the availability of street parking near the location.

    Declaration

    Swift

    public var streetParking: Bool?
  • Indicates whether breakfast is served.

    Declaration

    Swift

    public var servesBreakfast: Bool?
  • Indicates whether brunch is served.

    Declaration

    Swift

    public var servesBrunch: Bool?
  • Indicates whether dinner is served.

    Declaration

    Swift

    public var servesDinner: Bool?
  • Indicates whether lunch is served.

    Declaration

    Swift

    public var servesLunch: Bool?
  • Indicates whether wine is served.

    Declaration

    Swift

    public var servesWine: Bool?
  • Indicates whether beer is served.

    Declaration

    Swift

    public var servesBeer: Bool?
  • Indicates whether vegan diet options are available.

    Declaration

    Swift

    public var servesVegan: Bool?
  • Indicates whether vegetarian diet options are available.

    Declaration

    Swift

    public var servesVegetarian: Bool?
  • Indicates whether takeout services are available.

    Declaration

    Swift

    public var takeout: Bool?