com.kosora623.pikkles.sticker

ステッカー本体。切り抜き済みの透過PNG。

Details · record, key tid
Kindrecord
Record keytid
Authoritypikkles.kosora623.com
Indexed
cid bafyreifkedsgydhsnm7wnegjdqnujeufyphtkuso2orhacgixvkzdzirru

Checks

Valid
  • unlimited-string defs.main.record.properties.sourceNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "ステッカー本体。切り抜き済みの透過PNG。",
      "key": "tid",
      "record": {
        "properties": {
          "caption": {
            "description": "ピクルス名(任意)。以前は一言として使っていた",
            "maxGraphemes": 100,
            "maxLength": 1000,
            "type": "string"
          },
          "createdAt": {
            "description": "撮影日時(イラストは保存日時)",
            "format": "datetime",
            "type": "string"
          },
          "height": {
            "description": "画像の高さ(px)",
            "minimum": 1,
            "type": "integer"
          },
          "image": {
            "accept": [
              "image/png"
            ],
            "description": "切り抜き済み透過PNG。EXIF などのメタデータを残さず再エンコードする。1MB に収めるため /cutout で長辺を1024pxに縮めてある前提。",
            "maxSize": 1000000,
            "type": "blob"
          },
          "source": {
            "description": "撮った写真か、描いたイラストか",
            "knownValues": [
              "photo",
              "illustration"
            ],
            "type": "string"
          },
          "width": {
            "description": "画像の幅(px)",
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "image",
          "width",
          "height",
          "source",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "com.kosora623.pikkles.sticker",
  "lexicon": 1
}