com.kosora623.pikkles.sticker

kosora623.bsky.social

Documentation

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

main record

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

Record Key tid Timestamp-based ID

Properties

caption string Optional

ピクルス名(任意)。以前は一言として使っていた

maxLength: 1000 bytesmaxGraphemes: 100 graphemes
createdAt string datetime Required

撮影日時(イラストは保存日時)

height integer Required

画像の高さ(px)

minimum: 1
image blob Required

切り抜き済み透過PNG。EXIF などのメタデータを残さず再エンコードする。1MB に収めるため /cutout で長辺を1024pxに縮めてある前提。

maxSize: 1.0 MB
source string Required

撮った写真か、描いたイラストか

Known values: photo, illustration
width integer Required

画像の幅(px)

minimum: 1
View raw schema
{
  "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"
}

Lexicon Garden

@