UNPKG

@rapharacing/schemas

Version:

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

31 lines 890 B
{ "type": "object", "properties": { "deliveryAddress": { "description": "Delivery address for order entry group", "$ref": "_definitions.json#/definitions/Address", "originalRef": "Address" }, "entries": { "type": "array", "description": "List of order entries", "items": { "$ref": "_definitions.json#/definitions/OrderEntry", "originalRef": "OrderEntry" } }, "quantity": { "type": "integer", "format": "int64", "description": "Quantity of order entries in a group" }, "totalPriceWithTax": { "description": "Total price with tax", "$ref": "_definitions.json#/definitions/Price", "originalRef": "Price" } }, "title": "DeliveryOrderEntryGroup", "description": "Representation of a Delivery Order Entry Group", "$schema": "http://json-schema.org/schema#" }