Misskey · Schema

Flash

Open-SourceSocial NetworksFediverseActivityPubDecentralized

Properties

Name Type Description
id string
createdAt string
updatedAt string
userId string
user object
title string
summary string
script string
visibility string
likedCount numbernull
isLiked boolean
View JSON Schema on GitHub

JSON Schema

misskey-flash-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://misskey.io/schemas/Flash",
  "title": "Flash",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "id",
      "example": "xxxxxxxxxx"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "userId": {
      "type": "string",
      "format": "id"
    },
    "user": {
      "type": "object",
      "$ref": "#/components/schemas/UserLite"
    },
    "title": {
      "type": "string"
    },
    "summary": {
      "type": "string"
    },
    "script": {
      "type": "string"
    },
    "visibility": {
      "type": "string",
      "enum": [
        "private",
        "public"
      ]
    },
    "likedCount": {
      "type": [
        "number",
        "null"
      ]
    },
    "isLiked": {
      "type": "boolean"
    }
  },
  "required": [
    "id",
    "createdAt",
    "updatedAt",
    "userId",
    "user",
    "title",
    "summary",
    "script",
    "visibility",
    "likedCount"
  ]
}