Misskey · Schema

Notification

Open-SourceSocial NetworksFediverseActivityPubDecentralized
View JSON Schema on GitHub

JSON Schema

misskey-notification-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://misskey.io/schemas/Notification",
  "title": "Notification",
  "type": "object",
  "oneOf": [
    {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "id"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "type": {
          "type": "string",
          "enum": [
            "note"
          ]
        },
        "user": {
          "type": "object",
          "$ref": "#/components/schemas/UserLite"
        },
        "userId": {
          "type": "string",
          "format": "id"
        },
        "note": {
          "type": "object",
          "$ref": "#/components/schemas/Note"
        }
      },
      "required": [
        "id",
        "createdAt",
        "type",
        "user",
        "userId",
        "note"
      ]
    },
    {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "id"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "type": {
          "type": "string",
          "enum": [
            "mention"
          ]
        },
        "user": {
          "type": "object",
          "$ref": "#/components/schemas/UserLite"
        },
        "userId": {
          "type": "string",
          "format": "id"
        },
        "note": {
          "type": "object",
          "$ref": "#/components/schemas/Note"
        }
      },
      "required": [
        "id",
        "createdAt",
        "type",
        "user",
        "userId",
        "note"
      ]
    },
    {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "id"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "type": {
          "type": "string",
          "enum": [
            "reply"
          ]
        },
        "user": {
          "type": "object",
          "$ref": "#/components/schemas/UserLite"
        },
        "userId": {
          "type": "string",
          "format": "id"
        },
        "note": {
          "type": "object",
          "$ref": "#/components/schemas/Note"
        }
      },
      "required": [
        "id",
        "createdAt",
        "type",
        "user",
        "userId",
        "note"
      ]
    },
    {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "id"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "type": {
          "type": "string",
          "enum": [
            "renote"
          ]
        },
        "user": {
          "type": "object",
          "$ref": "#/components/schemas/UserLite"
        },
        "userId": {
          "type": "string",
          "format": "id"
        },
        "note": {
          "type": "object",
          "$ref": "#/components/schemas/Note"
        }
      },
      "required": [
        "id",
        "createdAt",
        "type",
        "user",
        "userId",
        "note"
      ]
    },
    {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "id"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "type": {
          "type": "string",
          "enum": [
            "quote"
          ]
        },
        "user": {
          "type": "object",
          "$ref": "#/components/schemas/UserLite"
        },
        "userId": {
          "type": "string",
          "format": "id"
        },
        "note": {
          "type": "object",
          "$ref": "#/components/schemas/Note"
        }
      },
      "required": [
        "id",
        "createdAt",
        "type",
        "user",
        "userId",
        "note"
      ]
    },
    {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "id"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "type": {
          "type": "string",
          "enum": [
            "reaction"
          ]
        },
        "user": {
          "type": "object",
          "$ref": "#/components/schemas/UserLite"
        },
        "userId": {
          "type": "string",
          "format": "id"
        },
        "note": {
          "type": "object",
          "$ref": "#/components/schemas/Note"
        },
        "reaction": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "createdAt",
        "type",
        "user",
        "userId",
        "note",
        "reaction"
      ]
    },
    {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "id"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "type": {
          "type": "string",
          "enum": [
            "pollEnded"
          ]
        },
        "user": {
          "type": "object",
          "$ref": "#/components/schemas/UserLite"
        },
        "userId": {
          "type": "string",
          "format": "id"
        },
        "note": {
          "type": "object",
          "$ref": "#/components/schemas/Note"
        }
      },
      "required": [
        "id",
        "createdAt",
        "type",
        "user",
        "userId",
        "note"
      ]
    },
    {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "id"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "type": {
          "type": "string",
          "enum": [
            "follow"
          ]
        },
        "user": {
          "type": "object",
          "$ref": "#/components/schemas/UserLite"
        },
        "userId": {
          "type": "string",
          "format": "id"
        }
      },
      "required": [
        "id",
        "createdAt",
        "type",
        "user",
        "userId"
      ]
    },
    {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "id"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "type": {
          "type": "string",
          "enum": [
            "receiveFollowRequest"
          ]
        },
        "user": {
          "type": "object",
          "$ref": "#/components/schemas/UserLite"
        },
        "userId": {
          "type": "string",
          "format": "id"
        }
      },
      "required": [
        "id",
        "createdAt",
        "type",
        "user",
        "userId"
      ]
    },
    {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "id"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "type": {
          "type": "string",
          "enum": [
            "followRequestAccepted"
          ]
        },
        "user": {
          "type": "object",
          "$ref": "#/components/schemas/UserLite"
        },
        "userId": {
          "type": "string",
          "format": "id"
        },
        "message": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "id",
        "createdAt",
        "type",
        "user",
        "userId",
        "message"
      ]
    },
    {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "id"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "type": {
          "type": "string",
          "enum": [
            "roleAssigned"
          ]
        },
        "role": {
          "type": "object",
          "$ref": "#/components/schemas/Role"
        }
      },
      "required": [
        "id",
        "createdAt",
        "type",
        "role"
      ]
    },
    {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "id"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "type": {
          "type": "string",
          "enum": [
            "chatRoomInvitationReceived"
          ]
        },
        "invitation": {
          "type": "object",
          "$ref": "#/components/schemas/ChatRoomInvitation"
        }
      },
      "required": [
        "id",
        "createdAt",
        "type",
        "invitation"
      ]
    },
    {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "id"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "type": {
          "type": "string",
          "enum": [
            "achievementEarned"
          ]
        },
        "achievement": {
          "type": "string",
          "enum": [
            "notes1",
            "notes10",
            "notes100",
            "notes500",
            "notes1000",
            "notes5000",
            "notes10000",
            "notes20000",
            "notes30000",
            "notes40000",
            "notes50000",
            "notes60000",
            "notes70000",
            "notes80000",
            "notes90000",
            "notes100000",
            "login3",
            "login7",
            "login15",
            "login30",
            "login60",
            "login100",
            "login200",
            "login300",
            "login400",
            "login500",
            "login600",
            "login700",
            "login800",
            "login900",
            "login1000",
            "passedSinceAccountCreated1",
            "passedSinceAccountCreated2",
            "passedSinceAccountCreated3",
            "loggedInOnBirthday",
            "loggedInOnNewYearsDay",
            "noteClipped1",
            "noteFavorited1",
            "myNoteFavorited1",
            "profileFilled",
            "markedAsCat",
            "following1",
            "following10",
            "following50",
            "following100",
            "following300",
            "followers1",
            "followers10",
            "followers50",
            "followers100",
            "followers300",
            "followers500",
            "followers1000",
            "collectAchievements30",
            "viewAchievements3min",
            "iLoveMisskey",
            "foundTreasure",
            "client30min",
            "client60min",
            "noteDeletedWithin1min",
            "postedAtLateNight",
            "postedAt0min0sec",
            "selfQuote",
            "htl20npm",
            "viewInstanceChart",
            "outputHelloWorldOnScratchpad",
            "open3windows",
            "driveFolderCircularReference",
            "reactWithoutRead",
            "clickedClickHere",
            "justPlainLucky",
            "setNameToSyuilo",
            "cookieClicked",
            "brainDiver",
            "smashTestNotificationButton",
            "tutorialCompleted",
            "sensitiveContentConsentResponded",
            "postingLanguageConfigured",
            "viewingLanguagesConfigured",
            "dimensionConfigured",
            "bubbleGameExplodingHead",
            "bubbleGameDoubleExplodingHead"
          ]
        }
      },
      "required": [
        "id",
        "createdAt",
        "type",
        "achievement"
      ]
    },
    {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "id"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "type": {
          "type": "string",
          "enum": [
            "exportCompleted"
          ]
        },
        "exportedEntity": {
          "type": "string",
          "enum": [
            "antenna",
            "blocking",
            "clip",
            "customEmoji",
            "favorite",
            "following",
            "muting",
            "note",
            "userList"
          ]
        },
        "fileId": {
          "type": "string",
          "format": "id"
        }
      },
      "required": [
        "id",
        "createdAt",
        "type",
        "exportedEntity",
        "fileId"
      ]
    },
    {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "id"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "type": {
          "type": "string",
          "enum": [
            "login"
          ]
        }
      },
      "required": [
        "id",
        "createdAt",
        "type"
      ]
    },
    {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "id"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "type": {
          "type": "string",
          "enum": [
            "noteScheduled"
          ]
        },
        "draft": {
          "type": "object",
          "$ref": "#/components/schemas/NoteDraft"
        }
      },
      "required": [
        "id",
        "createdAt",
        "type",
        "draft"
      ]
    },
    {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "id"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "type": {
          "type": "string",
          "enum": [
            "scheduledNotePosted"
          ]
        },
        "note": {
          "type": "object",
          "$ref": "#/components/schemas/Note"
        }
      },
      "required": [
        "id",
        "createdAt",
        "type",
        "note"
      ]
    },
    {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "id"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "type": {
          "type": "string",
          "enum": [
            "scheduledNoteError"
          ]
        },
        "draft": {
          "type": "object",
          "$ref": "#/components/schemas/NoteDraft"
        }
      },
      "required": [
        "id",
        "createdAt",
        "type",
        "draft"
      ]
    },
    {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "id"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "type": {
          "type": "string",
          "enum": [
            "sensitiveFlagAssigned"
          ]
        },
        "fileId": {}
      },
      "required": [
        "id",
        "createdAt",
        "type",
        "fileId"
      ]
    },
    {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "id"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "type": {
          "type": "string",
          "enum": [
            "createToken"
          ]
        }
      },
      "required": [
        "id",
        "createdAt",
        "type"
      ]
    },
    {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "id"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "type": {
          "type": "string",
          "enum": [
            "app"
          ]
        },
        "body": {
          "type": "string"
        },
        "header": {
          "type": [
            "string",
            "null"
          ]
        },
        "icon": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "id",
        "createdAt",
        "type",
        "body",
        "header",
        "icon"
      ]
    },
    {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "id"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "type": {
          "type": "string",
          "enum": [
            "reaction:grouped"
          ]
        },
        "note": {
          "type": "object",
          "$ref": "#/components/schemas/Note"
        },
        "reactions": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "user": {
                "type": "object",
                "$ref": "#/components/schemas/UserLite"
              },
              "reaction": {
                "type": "string"
              }
            },
            "required": [
              "user",
              "reaction"
            ]
          }
        }
      },
      "required": [
        "id",
        "createdAt",
        "type",
        "note",
        "reactions"
      ]
    },
    {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "id"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "type": {
          "type": "string",
          "enum": [
            "renote:grouped"
          ]
        },
        "note": {
          "type": "object",
          "$ref": "#/components/schemas/Note"
        },
        "users": {
          "type": "array",
          "items": {
            "type": "object",
            "$ref": "#/components/schemas/UserLite"
          }
        }
      },
      "required": [
        "id",
        "createdAt",
        "type",
        "note",
        "users"
      ]
    },
    {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "id"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "type": {
          "type": "string",
          "enum": [
            "test"
          ]
        }
      },
      "required": [
        "id",
        "createdAt",
        "type"
      ]
    }
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/misskey-notification"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.