@rapharacing/schemas
Version:
OpenAPI to JSON Schema to be used with middy for CC response validation
36 lines • 1.03 kB
JSON
{
"type": "object",
"properties": {
"deliveryPointOfService": {
"description": "Delivery point of service",
"$ref": "_definitions.json#/definitions/PointOfService",
"originalRef": "PointOfService"
},
"distance": {
"type": "number",
"format": "double",
"description": "Distance calculated to pickup place"
},
"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": "PickupOrderEntryGroup",
"description": "Representation of a Pickup Order Entry Group",
"$schema": "http://json-schema.org/schema#"
}