{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CartSummary",
  "title": "CartSummary",
  "type": "object",
  "properties": {
    "code": {
      "type": "string",
      "description": "Cart code"
    },
    "totalItems": {
      "type": "integer",
      "description": "Number of items"
    },
    "total": {
      "type": "string",
      "description": "Formatted cart total"
    },
    "modified": {
      "type": "string",
      "format": "date-time",
      "description": "Last modification time"
    }
  }
}