Business
Represents a business in a particular best business location
Last updated
Was this helpful?
Represents a business in a particular best business location
Last updated
Was this helpful?
Field
Type
Required
Default
Description
id
ObjectId
Yes
-
Alias of _id generated by mongo
slug
String
Yes
-
Chosen slug
name
String
Yes
-
The name of the business
active
Boolean
Yes
True
Whether the business should be displayed publicly
subcategories
[]
No
-
Subcategories the business belongs to
type
String
Yes
"btoc"
Type of business b -> b or b -> c. enum["btob", "btoc"]
paidEntry
Boolean
Yes
false
Whether it's a proper profile or an 'Other qualifiers'
rank
Number
No
1
1-9 showing rank order (only if paidEntry = true)
content
[]
No
-
Sections on the page of the business
yearsQualified
Number
Yes
1
The number of years that the business has been qualified for best business
opening
Yes
-
The opening times of the business
imageUrls
[String]
No
-
Valid Urls to images of the business
websiteUrl
String
No
-
Valid Url to company's website
phone
String
No
-
Valid phone number of the company
String
No
-
Valid email address of the company
socialUrls
[]
No
-
List of socials the business has and their urls
address
String
No
-
Address string in google maps format
location
Yes
-
Reference to location the business belongs to