Data

Description#

These are general details regarding the business available to other users publicly.

Data#

Business name#

  • Localizable

Tagline#

  • Type
    • String
  • Validation
    • Maximum
      • 100
  • Localizable

Thumbnail#

Gallery#

Type#

  • Type
    • Enum
    • Options
      • Restaurant
      • Retail
  • Validation
    • Required

Categories#

Delivery methods#

  • Type
    • Object, each property will be one of the following delivery methods where each is a boolean that, if true, indicates that it is supported.
      • Eat in
      • Takeaway
      • Home delivery
  • Validation
    • Required
    • At least one option must be true.
  • Localizable

Available#

Indicates if the business is available to receive orders from clients.

  • Type
    • Boolean
  • Validation
    • Required
    • Default
      • false

Average rating#

Work hours#

  • Type
    • Object with the properties corresponding to each week day. Each day is an array that represents the working hours that day. Empty arrays mean the business does not work that day.
  • Validation
    • Required

Published#

Region#

Delivery settings#

Location#

Contact details#

Estimates#

Sample data structure#

{
...inherited user data,
phoneNumber: "+972526020404"
}