{ "type": "object", "additionalProperties": true, "$schema": "http://json-schema.org/schema#", "required": ["hasMore", "data"], "properties": { "hasMore": { "type": "boolean" }, "data": { "type": "array", "items": { "type": "object", "required": [ "id", "created", "applicationId", "integrationId", "coupon", "referral", "state", "cartItems", "discounts", "total", "totalDiscounts" ], "properties": { "id": { "type": "integer" }, "created": { "type": "string", "format": "date-time" }, "applicationId": { "type": "integer" }, "profileId": { "type": "integer" }, "integrationId": { "type": "string", "format": "string" }, "profileintegrationid": { "type": "string" }, "coupon": { "type": "string" }, "referral": { "type": "string" }, "state": { "type": "string" }, "cartItems": { "type": "array", "items": { "required": ["name", "price", "quantity", "sku"], "type": "object", "properties": { "name": { "minLength": 1, "type": "string" }, "sku": { "minLength": 1, "type": "string" }, "quantity": { "minimum": 1, "type": "integer" }, "returnedQuantity": { "type": "integer" }, "remainingQuantity": { "type": "integer" }, "price": { "type": "number" }, "category": { "type": "string" }, "weight": { "type": "number" }, "height": { "type": "number" }, "width": { "type": "number" }, "length": { "type": "number" }, "position": { "type": "number" }, "attributes": { "type": "object", "properties": {} }, "additionalCosts": { "type": "object" } }, "x-attributable": true } }, "discounts": { "type": "object", "additionalProperties": { "type": "number" } }, "totalDiscounts": { "type": "number" }, "total": { "type": "number" }, "attributes": { "type": "object", "additionalProperties": true } } } } } }