{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/paperlink-online/json-schema/paperlink-online-update-product-request-schema.json",
  "title": "UpdateProductRequest",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/paperlink-online-v1-openapi.json#/components/schemas/UpdateProductRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 255
    },
    "unitPrice": {
      "type": "number",
      "minimum": 0
    },
    "currency": {
      "type": "string",
      "minLength": 3,
      "maxLength": 3
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 2000
    },
    "sku": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 100
    },
    "taxRate": {
      "type": [
        "number",
        "null"
      ],
      "minimum": 0,
      "maximum": 100
    },
    "type": {
      "type": "string",
      "maxLength": 50
    },
    "unitOfMeasure": {
      "type": "string",
      "maxLength": 50
    }
  }
}