Skip to content
This repository has been archived by the owner on Sep 3, 2023. It is now read-only.

Commit

Permalink
fix(AggregateRating): friendlier numeric values
Browse files Browse the repository at this point in the history
  • Loading branch information
harlan-zw committed Aug 19, 2022
1 parent 77a7860 commit 145a059
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/nodes/AggregateRating/index.ts
Expand Up @@ -6,11 +6,11 @@ export interface AggregateRatingLite extends Thing {
/**
* The total number of ratings for the item on your site. At least one of ratingCount or reviewCount is required.
*/
ratingCount?: number
ratingCount?: number | string
/**
* Specifies the number of people who provided a review with or without an accompanying rating. At least one of ratingCount or reviewCount is required.
*/
reviewCount?: number
reviewCount?: number | string
/**
* A numerical quality rating for the item, either a number, fraction, or percentage
* (for example, "4", "60%", or "6 / 10").
Expand All @@ -23,11 +23,11 @@ export interface AggregateRatingLite extends Thing {
/**
* The highest value allowed in this rating system. If bestRating is omitted, 5 is assumed.
*/
bestRating?: number
bestRating?: number | string
/**
* The lowest value allowed in this rating system. If worstRating is omitted, 1 is assumed.
*/
worstRating?: number
worstRating?: number | string
}

export interface AggregateRating extends AggregateRatingLite {}
Expand Down

0 comments on commit 145a059

Please sign in to comment.