{
  "type": "object",
  "properties": {
    "action": {
      "type": "string",
      "enum": [
        "get",
        "claim",
        "update",
        "delete",
        "link_wallet",
        "unlink_wallet"
      ]
    },
    "id": {
      "description": "get: a profile id (k:... or w:0x...)",
      "type": "string",
      "maxLength": 46
    },
    "display": {
      "description": "claim/update: a display name, 1-40 letters, digits, spaces, . _ -",
      "type": "string",
      "maxLength": 40
    },
    "show_listings": {
      "description": "claim/update: show which listings it bought",
      "type": "boolean"
    },
    "show_exact": {
      "description": "claim/update: show exact numbers instead of bands",
      "type": "boolean"
    },
    "wallet": {
      "description": "A 0x wallet: its own profile (with signature), or link_wallet / unlink_wallet",
      "type": "string",
      "maxLength": 42
    },
    "signature": {
      "description": "The wallet's personal_sign of the text above (plain or smart wallets, ERC-1271/6492, on Base)",
      "type": "string",
      "maxLength": 16400
    },
    "signed_at": {
      "description": "The unix time (seconds) in the signed text",
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "action"
  ],
  "additionalProperties": false
}