{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/OrderItem",
  "title": "OrderItem",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "nullable": true
    },
    "seller": {
      "type": "string",
      "nullable": true
    },
    "quantity": {
      "type": "integer",
      "format": "int32",
      "title": "quantity",
      "description": "Amount of units in the cart.",
      "example": 5
    },
    "price": {
      "type": "integer",
      "format": "int64",
      "nullable": true
    },
    "sellingPrice": {
      "type": "integer",
      "format": "int64",
      "nullable": true
    },
    "unitMultiplier": {
      "type": "number",
      "format": "double",
      "nullable": true
    },
    "attachments": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ItemAttachment"
      },
      "nullable": true
    },
    "name": {
      "type": "string",
      "nullable": true
    },
    "isGift": {
      "type": "boolean"
    },
    "priceTags": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/PriceTag"
      },
      "nullable": true
    }
  },
  "additionalProperties": false
}