Optional_A unique document ID (Mongo DB ObjectID)
Approval status - can be used for moderation
The categories of the listing
The paginated content for the listing
The time the listing was created
The BitBadges address of the user who created this listing
OptionaldirectThe direct link for the listing. If specified, we will skip the entire content / listing page. Thus, content and links should be empty [].
OptionaldisplayOptional time range for when the listing should be shown
OptionalestimatedThe estimated cost for this utility/service
OptionalestimatedThe estimated time to complete or deliver this utility/service
OptionalhomeHome page view
OptionalinheritWhere to inherit metadata from? Only one can be specified.
OptionallastThe last updated timestamp
OptionallinkedLinked details
The relevant links for the listing
The listing ID
OptionallocaleLocale (ex: es, fr, etc.). If not specified, we assume en.
The BitBadges address of the user who is currently managing this
The overall metadata for the listing
Type of the listing
OptionalviewThe total view count for this listing. This is updated periodically from the view tracking document.
OptionalviewsOptional breakdown of views by time period for trending calculations
Visibility state of the listing
Deep copies the object and returns a new instance.
Converts the object to a different NumberType equivalent.
Optionaloptions: ConvertOptionsCompares this object's fields to another object's fields for equality. Equality is determined by comparing the JSON representations of the objects.
If normalizeNumberTypes is true, then all number types will be compared as strings (i.e. "1n" === "1" === 1). Else, they will be compared as their native types (i.e. 1n !== 1 !== "1").
OptionalnormalizeNumberTypes: booleanInternal helper method to convert the number fields of the object to a different NumberType equivalent.
Checks if the object has number fields.
Converts the object to a JSON object with all primitive types.
Converts the object to a JSON string.
A unique stringified document ID