key description type pattern
inPromotion Item is in promotion or not BOOLEAN ^true|false$
promotion.discountRate Discount rate. E.g\: 30% or -30% (both are accepted). STRING ^(-)?\d+(\.)?\d*\s*%?$
promotion.end Date with the format ISO8601. DATE See ISO8601
promotion.perUnitPrice Unit price for the normal price. NUMBER ^([1-9]\d*(\.\d+)?)|(\d+\.\d*[1-9]\d*)$
promotion.regularPrice Price before application of the promotion. NUMBER ^([1-9]\d*(\.\d+)?)|(\d+\.\d*[1-9]\d*)$
promotion.start Date with the format ISO8601. DATE See ISO8601
promotion.text Text of the promotion STRING ^.*$