{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/3m/refs/heads/main/json-schema/3m-partner-supplier-api-product-schema.json",
  "title": "Product",
  "description": "A 3M product available to partners and suppliers",
  "type": "object",
  "properties": {
    "productId": {
      "type": "string",
      "description": "Unique product identifier",
      "example": "PROD-12345"
    },
    "name": {
      "type": "string",
      "description": "Product display name",
      "example": "3M Scotch Heavy Duty Tape"
    },
    "sku": {
      "type": "string",
      "description": "Stock Keeping Unit identifier",
      "example": "SKU-12345"
    },
    "category": {
      "type": "string",
      "description": "Product category",
      "example": "adhesives"
    },
    "description": {
      "type": "string",
      "description": "Detailed product description",
      "example": "Heavy duty packaging tape for industrial use"
    },
    "unitPrice": {
      "type": "number",
      "description": "Unit price for the product",
      "example": 24.99
    },
    "currency": {
      "type": "string",
      "description": "Currency code (ISO 4217)",
      "example": "USD"
    },
    "availability": {
      "type": "string",
      "description": "Product availability status",
      "enum": [
        "in-stock",
        "out-of-stock",
        "limited",
        "discontinued"
      ],
      "example": "in-stock"
    }
  }
}