{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nimcoffee-com/json-schema/nimcoffee-com-order-request-schema.json",
  "title": "OrderRequest",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nimcoffee-com-openapi.json#/components/schemas/OrderRequest",
  "properties": {
    "product_id": {
      "type": "integer",
      "title": "Product Id",
      "description": "产品 ID"
    },
    "quantity": {
      "type": "integer",
      "minimum": 1.0,
      "title": "Quantity",
      "description": "数量",
      "default": 1
    }
  },
  "type": "object",
  "required": [
    "product_id"
  ]
}