{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/applied-industrial-technologies/main/json-schema/product-schema.json",
  "title": "Product",
  "description": "An industrial product distributed by Applied Industrial Technologies",
  "type": "object",
  "properties": {
    "productId": {
      "type": "string",
      "description": "Unique product identifier"
    },
    "partNumber": {
      "type": "string",
      "description": "Manufacturer part number"
    },
    "name": {
      "type": "string",
      "description": "Product name"
    },
    "description": {
      "type": "string",
      "description": "Product description"
    },
    "category": {
      "type": "string",
      "description": "Product category (bearings, power transmission, etc.)"
    },
    "manufacturer": {
      "type": "string",
      "description": "Product manufacturer"
    },
    "price": {
      "type": "number",
      "description": "Unit price in USD"
    },
    "inStock": {
      "type": "boolean",
      "description": "Whether the product is in stock"
    },
    "leadTimeDays": {
      "type": "integer",
      "description": "Lead time in days if not in stock"
    }
  },
  "required": [
    "productId",
    "partNumber",
    "name",
    "category"
  ]
}