{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/paperlink-online/json-schema/paperlink-online-create-product-request-schema.json",
  "title": "CreateProductRequest",
  "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/CreateProductRequest",
  "type": "object",
  "required": [
    "name",
    "unitPrice",
    "currency"
  ],
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 255
    },
    "unitPrice": {
      "type": "number",
      "minimum": 0
    },
    "currency": {
      "type": "string",
      "minLength": 3,
      "maxLength": 3
    },
    "description": {
      "type": "string",
      "maxLength": 2000
    },
    "sku": {
      "type": "string",
      "maxLength": 100
    },
    "taxRate": {
      "type": "number",
      "minimum": 0,
      "maximum": 100
    },
    "type": {
      "type": "string",
      "maxLength": 50
    },
    "unitOfMeasure": {
      "type": "string",
      "maxLength": 50
    }
  }
}