UNPKG

@rapharacing/schemas

Version:

OpenAPI to JSON Schema to be used with middy for CC response validation

42 lines 905 B
{ "type": "object", "properties": { "active": { "type": "boolean" }, "averageOverallRating": { "type": "number", "format": "double" }, "disabled": { "type": "boolean" }, "overallRatingRange": { "type": "integer", "format": "int32" }, "productCode": { "type": "string" }, "ratingDistribution": { "type": "array", "items": { "$ref": "_definitions.json#/definitions/RatingDistribution", "originalRef": "RatingDistribution" } }, "secondaryRatings": { "type": "array", "items": { "$ref": "_definitions.json#/definitions/SecondaryRating", "originalRef": "SecondaryRating" } }, "totalReviewCount": { "type": "integer", "format": "int32" } }, "title": "CustomerFeedback", "$schema": "http://json-schema.org/schema#" }