export type Price = { readonly was: string readonly now: string readonly onSale: boolean } export type Recommendation = { readonly productId: string readonly productName: string readonly productUrl: string readonly productImageUrl: string readonly brandName: string readonly price: Price readonly rating?: number readonly numReviews?: number } export type SimilarProductRecommendation = { readonly recommendations: readonly Recommendation[] } export type SimilarProductContext = 'pdp' export type JSONValue = | string | number | boolean | { readonly [x: string]: JSONValue } | readonly JSONValue[]