{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/honeygate-app/json-schema/honeygate-app-post-points-spend-request-schema.json",
  "title": "PostPointsSpendRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/honeygate-app-openapi-generated.yml#/components/schemas/PostPointsSpendRequest",
  "type": "object",
  "properties": {
    "discord_id": {
      "type": "string",
      "description": "Member's Discord ID"
    },
    "amount": {
      "type": "integer",
      "description": "Positive whole-number amount to deduct"
    },
    "idempotency_key": {
      "type": "string",
      "description": "Unique key for this spend operation"
    },
    "source": {
      "type": "string",
      "description": "Optional source label"
    },
    "note": {
      "type": "string",
      "description": "Optional human‑readable note"
    }
  },
  "required": [
    "discord_id",
    "amount",
    "idempotency_key"
  ]
}