Neynar · Schema

Hub UserDataBody

Contains the data for updating a specific field of a user's profile metadata. Each update operation modifies one profile field at a time, allowing granular control over profile information.

FarcasterSocialDecentralizedWeb3BlockchainSocial GraphCastsChannelsFeedsReactionsNotificationsWebhooksOnchain

Properties

Name Type Description
type object Specifies which profile field is being updated (e.g., profile picture, display name, bio).
value string The new value for the specified profile field. The format depends on the type: URLs for profile pictures, plain text for display names and bios, etc.
View JSON Schema on GitHub

JSON Schema

hub-userdatabody.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://neynar.com/schemas/hub/UserDataBody",
  "title": "Hub UserDataBody",
  "description": "Contains the data for updating a specific field of a user's profile metadata. Each update operation modifies one profile field at a time, allowing granular control over profile information.",
  "type": "object",
  "properties": {
    "type": {
      "description": "Specifies which profile field is being updated (e.g., profile picture, display name, bio).",
      "allOf": [
        {
          "$ref": "#/components/schemas/UserDataType"
        }
      ]
    },
    "value": {
      "title": "Profile Field Value",
      "description": "The new value for the specified profile field. The format depends on the type: URLs for profile pictures, plain text for display names and bios, etc.",
      "type": "string",
      "example": "https://i.imgur.com/123abc.jpg"
    }
  },
  "required": [
    "type",
    "value"
  ]
}