Neynar · Schema

Hub UserNameProof

Neynar Hub API schema for UserNameProof

FarcasterSocialDecentralizedWeb3BlockchainSocial GraphCastsChannelsFeedsReactionsNotificationsWebhooksOnchain

Properties

Name Type Description
timestamp integer Seconds since Unix Epoch which began on Jan 1, 1970 00:00:00 UTC
name string
owner string
signature string
fid object The FID of the user who owns this username proof
type object
View JSON Schema on GitHub

JSON Schema

hub-usernameproof.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://neynar.com/schemas/hub/UserNameProof",
  "title": "Hub UserNameProof",
  "description": "Neynar Hub API schema for UserNameProof",
  "type": "object",
  "properties": {
    "timestamp": {
      "description": "Seconds since Unix Epoch which began on Jan 1, 1970 00:00:00 UTC",
      "type": "integer",
      "format": "uint64"
    },
    "name": {
      "type": "string",
      "example": "neynar"
    },
    "owner": {
      "pattern": "^0x[0-9a-fA-F]{40}$",
      "type": "string"
    },
    "signature": {
      "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$",
      "type": "string",
      "format": "byte"
    },
    "fid": {
      "description": "The FID of the user who owns this username proof",
      "allOf": [
        {
          "$ref": "#/components/schemas/FidSchema"
        }
      ]
    },
    "type": {
      "$ref": "#/components/schemas/UserNameType"
    }
  },
  "required": [
    "timestamp",
    "name",
    "owner",
    "signature",
    "fid",
    "type"
  ]
}