{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/postzen-dev/json-schema/postzen-dev-profile-update-request-schema.json",
  "title": "ProfileUpdateRequest",
  "description": "Include at least one field.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/postzen-dev-profiles-api-openapi.yml#/components/schemas/ProfileUpdateRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 80
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 240,
      "description": "Pass an empty string or `null` to clear the description."
    },
    "color": {
      "type": "string",
      "pattern": "^#[0-9a-fA-F]{6}$"
    },
    "isDefault": {
      "type": "boolean",
      "description": "Set to `true` to make this the default profile."
    }
  }
}