{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/harukibox-com/json-schema/harukibox-com-product-schema.json",
  "title": "Product",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/harukibox-com-agent-openapi.json#/components/schemas/Product",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "type": "string"
    },
    "sku": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "category": {
      "type": [
        "string",
        "null"
      ]
    },
    "priceTwd": {
      "type": [
        "number",
        "null"
      ]
    },
    "priceJpy": {
      "type": [
        "number",
        "null"
      ]
    },
    "currentStock": {
      "type": [
        "integer",
        "null"
      ]
    },
    "initialStock": {
      "type": [
        "integer",
        "null"
      ]
    },
    "stockAdjustment": {
      "type": [
        "integer",
        "null"
      ]
    },
    "releaseDate": {
      "type": [
        "string",
        "null"
      ]
    },
    "ipId": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "locationId": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    }
  }
}