com.kosora623.pikkles.binder.page

シール帳の1ページ。rkey はページ番号。

Details · record, key any
Kindrecord
Record keyany
Authoritybinder.pikkles.kosora623.com
Indexed
cid bafyreia6hkx5gwtvmggkhzonjy7cxqgq2y7gmbyqbqpepbslni5pgrr7ne

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "シール帳の1ページ。rkey はページ番号。",
      "key": "any",
      "record": {
        "properties": {
          "brine": {
            "description": "ページの漬け液(背景の色)。無いときや知らない値は dill",
            "knownValues": [
              "dill",
              "ume",
              "beet",
              "curry"
            ],
            "maxLength": 32,
            "type": "string"
          },
          "placements": {
            "items": {
              "ref": "#placement",
              "type": "ref"
            },
            "type": "array"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "placements",
          "updatedAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "placement": {
      "description": "ページ上のステッカー1枚の配置。Lexicon に小数は無いので整数で持つ。",
      "properties": {
        "rotation": {
          "description": "回転(度、時計回り)",
          "maximum": 180,
          "minimum": -180,
          "type": "integer"
        },
        "scale": {
          "description": "拡大率。1000で等倍(100 = 0.1倍、5000 = 5倍)",
          "maximum": 5000,
          "minimum": 100,
          "type": "integer"
        },
        "sticker": {
          "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": [
        "sticker",
        "x",
        "y",
        "scale",
        "rotation",
        "z"
      ],
      "type": "object"
    }
  },
  "id": "com.kosora623.pikkles.binder.page",
  "lexicon": 1
}