UNPKG

@rapharacing/schemas

Version:

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

238 lines 6.58 kB
{ "type": "object", "properties": { "adyenBoletoBarCodeReference": { "type": "string" }, "adyenBoletoData": { "type": "string" }, "adyenBoletoDueDate": { "type": "string", "format": "date-time" }, "adyenBoletoExpirationDate": { "type": "string", "format": "date-time" }, "adyenBoletoUrl": { "type": "string" }, "adyenMultibancoAmount": { "type": "number" }, "adyenMultibancoDeadline": { "type": "string" }, "adyenMultibancoEntity": { "type": "string" }, "adyenMultibancoReference": { "type": "string" }, "adyenPosReceipt": { "type": "string" }, "appliedOrderPromotions": { "type": "array", "description": "List of applied order promotions", "items": { "$ref": "#/_definitions.json/definitions/PromotionResult", "originalRef": "PromotionResult" } }, "appliedProductPromotions": { "type": "array", "description": "List of applied product promotions", "items": { "$ref": "#/_definitions.json/definitions/PromotionResult", "originalRef": "PromotionResult" } }, "appliedVouchers": { "type": "array", "description": "List of applied vouchers", "items": { "$ref": "#/_definitions.json/definitions/Voucher", "originalRef": "Voucher" } }, "calculated": { "type": "boolean", "description": "Flag showing if order is calculated" }, "code": { "type": "string", "description": "Code number of order" }, "deliveryAddress": { "description": "Delivery address", "$ref": "#/_definitions.json/definitions/Address", "originalRef": "Address" }, "deliveryCost": { "description": "Delivery cost", "$ref": "#/_definitions.json/definitions/Price", "originalRef": "Price" }, "deliveryItemsQuantity": { "type": "integer", "format": "int64", "description": "Quantity of delivery items" }, "deliveryMode": { "description": "Delivery mode information", "$ref": "#/_definitions.json/definitions/DeliveryMode", "originalRef": "DeliveryMode" }, "deliveryOrderGroups": { "type": "array", "description": "List of delivery order entries group", "items": { "$ref": "#/_definitions.json/definitions/DeliveryOrderEntryGroup", "originalRef": "DeliveryOrderEntryGroup" } }, "description": { "type": "string", "description": "Description of the cart" }, "entries": { "type": "array", "description": "List of order entries", "items": { "$ref": "#/_definitions.json/definitions/OrderEntry", "originalRef": "OrderEntry" } }, "entryGroups": { "type": "array", "description": "List of entry groups", "items": { "$ref": "#/_definitions.json/definitions/EntryGroup", "originalRef": "EntryGroup" } }, "expirationTime": { "type": "string", "format": "date-time", "description": "Date of cart expiration time" }, "guid": { "type": "string", "description": "Guest user id identifier" }, "name": { "type": "string", "description": "Name of the cart" }, "net": { "type": "boolean", "description": "Flag stating iv value is net-value" }, "orderDiscounts": { "description": "Order discounts", "$ref": "#/_definitions.json/definitions/Price", "originalRef": "Price" }, "paymentInfo": { "description": "Payment information", "$ref": "#/_definitions.json/definitions/PaymentDetails", "originalRef": "PaymentDetails" }, "pickupItemsQuantity": { "type": "integer", "format": "int64", "description": "Quantity of pickup items" }, "pickupOrderGroups": { "type": "array", "description": "List of pickup order entry group", "items": { "$ref": "#/_definitions.json/definitions/PickupOrderEntryGroup", "originalRef": "PickupOrderEntryGroup" } }, "potentialOrderPromotions": { "type": "array", "description": "List of potential order promotions for cart", "items": { "$ref": "#/_definitions.json/definitions/PromotionResult", "originalRef": "PromotionResult" } }, "potentialProductPromotions": { "type": "array", "description": "List of potential product promotions for cart", "items": { "$ref": "#/_definitions.json/definitions/PromotionResult", "originalRef": "PromotionResult" } }, "productDiscounts": { "description": "Product discounts", "$ref": "#/_definitions.json/definitions/Price", "originalRef": "Price" }, "saveTime": { "type": "string", "format": "date-time", "description": "Date of saving cart" }, "savedBy": { "description": "Information about person who saved cart", "$ref": "#/_definitions.json/definitions/Principal", "originalRef": "Principal" }, "site": { "type": "string", "description": "Site" }, "store": { "type": "string", "description": "Store" }, "subTotal": { "description": "Subtotal price", "$ref": "#/_definitions.json/definitions/Price", "originalRef": "Price" }, "totalDiscounts": { "description": "Total discounts", "$ref": "#/_definitions.json/definitions/Price", "originalRef": "Price" }, "totalItems": { "type": "integer", "format": "int32" }, "totalPrice": { "description": "Total price value", "$ref": "#/_definitions.json/definitions/Price", "originalRef": "Price" }, "totalPriceWithTax": { "description": "Total price with tax", "$ref": "#/_definitions.json/definitions/Price", "originalRef": "Price" }, "totalTax": { "description": "Total tax price", "$ref": "#/_definitions.json/definitions/Price", "originalRef": "Price" }, "totalUnitCount": { "type": "integer", "format": "int32", "description": "Total unit count" }, "user": { "description": "User information", "$ref": "#/_definitions.json/definitions/Principal", "originalRef": "Principal" } }, "title": "Cart", "description": "Representation of a Cart", "$schema": "http://json-schema.org/schema#" }