{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nopaque-co-uk/json-schema/nopaque-co-uk-update-user-request-schema.json",
  "title": "UpdateUserRequest",
  "description": "PATCH body for `PATCH /users/{userId}`. Currently only `name` is mutable.\nEmail is immutable (bound to Cognito + Stripe customer); avatar upload is not yet wired\nthrough this endpoint.\n",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nopaque-co-uk-users-api-openapi.yml#/components/schemas/UpdateUserRequest",
  "type": "object",
  "required": [
    "name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 100,
      "description": "Display name (1-100 chars after trim)."
    }
  }
}