# com.kosora623.pikkles.sticker

> Published by [kosora623.bsky.social](https://lexicon.garden/identity/did:plc:mi67np3wgmwyjtqmgy3l5y2m)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:mi67np3wgmwyjtqmgy3l5y2m/com.kosora623.pikkles.sticker)
- [Documentation](https://lexicon.garden/lexicon/did:plc:mi67np3wgmwyjtqmgy3l5y2m/com.kosora623.pikkles.sticker/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:mi67np3wgmwyjtqmgy3l5y2m/com.kosora623.pikkles.sticker/examples)

## Definitions

### `com.kosora623.pikkles.sticker`

**Type**: `record`

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

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `caption` | `string` | No | ピクルス名（任意）。以前は一言として使っていた |
| `createdAt` | `string` (datetime) | Yes | 撮影日時（イラストは保存日時） |
| `height` | `integer` | Yes | 画像の高さ（px） |
| `image` | `blob` | Yes | 切り抜き済み透過PNG。EXIF などのメタデータを残さず再エンコードする。1MB に収めるため /cutout で長辺を1024pxに縮めてある前提。 |
| `source` | `string` | Yes | 撮った写真か、描いたイラストか |
| `width` | `integer` | Yes | 画像の幅（px） |

## Raw Schema

```json
{
  "$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
}
```
