UNPKG

@rapharacing/schemas

Version:

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

38 lines 880 B
{ "type": "object", "properties": { "currencyIso": { "type": "string", "description": "Currency iso format" }, "formattedValue": { "type": "string", "description": "Value of price formatted" }, "maxQuantity": { "type": "integer", "format": "int64", "description": "Maximum quantity of the price value" }, "minQuantity": { "type": "integer", "format": "int64", "description": "Minimum quantity of the price value" }, "priceType": { "type": "string", "description": "Type of the price", "enum": [ "BUY", "FROM" ] }, "value": { "type": "number", "description": "Value of price in BigDecimal format" } }, "title": "Price", "description": "Representation of a Price", "$schema": "http://json-schema.org/schema#" }