Neynar · Schema

Hub MessageCommon

Neynar Hub API schema for MessageCommon

FarcasterSocialDecentralizedWeb3BlockchainSocial GraphCastsChannelsFeedsReactionsNotificationsWebhooksOnchain

Properties

Name Type Description
hash string
hashScheme object
signature string
signatureScheme object
signer string
View JSON Schema on GitHub

JSON Schema

hub-messagecommon.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://neynar.com/schemas/hub/MessageCommon",
  "title": "Hub MessageCommon",
  "description": "Neynar Hub API schema for MessageCommon",
  "type": "object",
  "properties": {
    "hash": {
      "title": "Hash digest of data",
      "pattern": "^0x[0-9a-fA-F]{40}$",
      "type": "string",
      "example": "0xd2b1ddc6c88e865a33cb1a565e0058d757042974"
    },
    "hashScheme": {
      "$ref": "#/components/schemas/HashScheme"
    },
    "signature": {
      "title": "Signature of the hash digest",
      "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$",
      "type": "string",
      "format": "byte"
    },
    "signatureScheme": {
      "$ref": "#/components/schemas/SignatureScheme"
    },
    "signer": {
      "title": "Public key or address of the key pair that produced the signature",
      "pattern": "^0x[0-9a-fA-F]+$",
      "type": "string"
    }
  },
  "required": [
    "hash",
    "hashScheme",
    "signature",
    "signatureScheme",
    "signer"
  ]
}