{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/alert-camp/json-schema/alert-camp-user-update-schema.json",
  "title": "UserUpdate",
  "description": "Schema for updating user profile.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/alert-camp-auth-api-openapi.yml#/components/schemas/UserUpdate",
  "properties": {
    "display_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Display Name"
    },
    "language": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^(fr|en|es|zh|pt|it|ht|ro|vi|el|tl|ru|hi|ko|pa|pl|de)$"
        },
        {
          "type": "null"
        }
      ],
      "title": "Language"
    },
    "email_notifications_enabled": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Email Notifications Enabled"
    },
    "push_notifications_enabled": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Push Notifications Enabled"
    },
    "alerts_paused": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Alerts Paused"
    }
  },
  "type": "object"
}