{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/servicenow/main/json-schema/servicenow-cart-item-schema.json",
  "title": "CartItem",
  "description": "An item in the shopping cart.",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/servicenow-cart-api-openapi.yml#/components/schemas/CartItem",
  "type": "object",
  "properties": {
    "cart_item_id": {
      "type": "string",
      "description": "Unique identifier for the cart item."
    },
    "catalog_item_id": {
      "type": "string",
      "description": "The sys_id of the catalog item."
    },
    "quantity": {
      "type": "integer",
      "description": "The quantity ordered."
    },
    "subtotal": {
      "type": "string",
      "description": "The subtotal for this cart item."
    }
  }
}