# com.kosora623.pikkles.field.placement

> 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.field.placement)
- [Documentation](https://lexicon.garden/lexicon/did:plc:mi67np3wgmwyjtqmgy3l5y2m/com.kosora623.pikkles.field.placement/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:mi67np3wgmwyjtqmgy3l5y2m/com.kosora623.pikkles.field.placement/examples)

## Definitions

### `com.kosora623.pikkles.field.placement`

**Type**: `record`

共同フィールドへの貼り付け。貼った人のPDSに置く。貼れるのは自分のステッカーと、成立した交換で受け取ったステッカー。数値の単位は binder.page#placement と同じ。

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `createdAt` | `string` (datetime) | Yes |  |
| `field` | `ref` → `com.atproto.repo.strongRef` | Yes |  |
| `rotation` | `integer` | Yes | 回転（度、時計回り） |
| `scale` | `integer` | Yes | 拡大率。1000で等倍（100 = 0.1倍、5000 = 5倍） |
| `sticker` | `ref` → `com.atproto.repo.strongRef` | Yes | 自分のステッカー、または成立した交換で受け取ったステッカー |
| `x` | `integer` | Yes | ステッカー中心の横位置。キャンバス幅を10000とした値。-2000〜12000 |
| `y` | `integer` | Yes | ステッカー中心の縦位置。キャンバス高さを10000とした値。-2000〜12000 |
| `z` | `integer` | Yes | 重なり順。大きいほど上 |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "共同フィールドへの貼り付け。貼った人のPDSに置く。貼れるのは自分のステッカーと、成立した交換で受け取ったステッカー。数値の単位は binder.page#placement と同じ。",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "field": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "rotation": {
            "description": "回転（度、時計回り）",
            "maximum": 180,
            "minimum": -180,
            "type": "integer"
          },
          "scale": {
            "description": "拡大率。1000で等倍（100 = 0.1倍、5000 = 5倍）",
            "maximum": 5000,
            "minimum": 100,
            "type": "integer"
          },
          "sticker": {
            "description": "自分のステッカー、または成立した交換で受け取ったステッカー",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "x": {
            "description": "ステッカー中心の横位置。キャンバス幅を10000とした値。-2000〜12000",
            "maximum": 12000,
            "minimum": -2000,
            "type": "integer"
          },
          "y": {
            "description": "ステッカー中心の縦位置。キャンバス高さを10000とした値。-2000〜12000",
            "maximum": 12000,
            "minimum": -2000,
            "type": "integer"
          },
          "z": {
            "description": "重なり順。大きいほど上",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "field",
          "sticker",
          "x",
          "y",
          "scale",
          "rotation",
          "z",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "com.kosora623.pikkles.field.placement",
  "lexicon": 1
}
```
