UNPKG

@rapharacing/schemas

Version:

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

25 lines 751 B
{ "type": "object", "properties": { "consumedEntries": { "type": "array", "description": "List of promotion order entries consumed", "items": { "$ref": "_definitions.json#/definitions/PromotionOrderEntryConsumed", "originalRef": "PromotionOrderEntryConsumed" } }, "description": { "type": "string", "description": "Description of promotion result" }, "promotion": { "description": "Promotion information for given promotion result", "$ref": "_definitions.json#/definitions/Promotion", "originalRef": "Promotion" } }, "title": "PromotionResult", "description": "Representation of a Promotion result", "$schema": "http://json-schema.org/schema#" }