{ "$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" ] }