{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/yunqi/json-schema/yunqi-user-update-request-schema.json",
  "title": "UserUpdateRequest",
  "x-generated": "2026-11-06",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/yunqi-user-management-api-openapi.yml#/components/schemas/UserUpdateRequest",
  "type": "object",
  "required": [
    "id"
  ],
  "properties": {
    "id": {
      "type": "integer",
      "format": "int64",
      "description": "Target user id. Required."
    },
    "name": {
      "type": "string"
    },
    "realName": {
      "type": "string"
    },
    "displayName": {
      "type": "string"
    },
    "email": {
      "type": "string"
    },
    "phone": {
      "type": "string"
    },
    "title": {
      "type": "string",
      "description": "Accepted but not persisted downstream."
    },
    "comment": {
      "type": "string",
      "description": "Accepted but not persisted downstream."
    },
    "status": {
      "type": "integer",
      "format": "int32",
      "description": "User status (tinyint)."
    },
    "type": {
      "type": "integer",
      "format": "int32",
      "description": "User type (tinyint)."
    }
  }
}