com.suibari.nagi.putPreferences

suibari.com

{
  "id": "com.suibari.nagi.putPreferences",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "properties": {
            "feedTabs": {
              "type": "array",
              "items": {
                "ref": "com.suibari.nagi.getPreferences#feedTab",
                "type": "ref"
              },
              "maxLength": 16
            },
            "readPositions": {
              "type": "array",
              "items": {
                "ref": "com.suibari.nagi.getPreferences#readPosition",
                "type": "ref"
              },
              "maxLength": 16
            },
            "emojiFavorites": {
              "type": "array",
              "items": {
                "type": "unknown"
              },
              "maxLength": 32
            },
            "feedTabsUpdatedAt": {
              "type": "string",
              "format": "datetime",
              "description": "feedTabs を送るときは必須。保存済みより古ければ書き込まない。"
            },
            "emojiFavoritesUpdatedAt": {
              "type": "string",
              "format": "datetime",
              "description": "emojiFavorites を送るときは必須。保存済みより古ければ書き込まない。"
            }
          }
        },
        "encoding": "application/json"
      },
      "errors": [
        {
          "name": "AuthRequired"
        },
        {
          "name": "InvalidRequest"
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "readPositions",
            "emojiFavorites"
          ],
          "properties": {
            "feedTabs": {
              "type": "array",
              "items": {
                "ref": "com.suibari.nagi.getPreferences#feedTab",
                "type": "ref"
              },
              "maxLength": 16
            },
            "readPositions": {
              "type": "array",
              "items": {
                "ref": "com.suibari.nagi.getPreferences#readPosition",
                "type": "ref"
              },
              "description": "マージ後の確定値。送った位置が負けた場合は保存済みの方が返る。"
            },
            "emojiFavorites": {
              "type": "array",
              "items": {
                "type": "unknown"
              },
              "maxLength": 32
            },
            "feedTabsUpdatedAt": {
              "type": "string",
              "format": "datetime"
            },
            "emojiFavoritesUpdatedAt": {
              "type": "string",
              "format": "datetime"
            }
          }
        },
        "encoding": "application/json"
      },
      "description": "同期対象の設定を書き込む。既読位置は (indexedAt, uri) が進むときだけ更新する単調マージ、お気に入りは updatedAt による後勝ち。どちらも省略でき、送った分だけが更新される。"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against com.suibari.nagi.putPreferences

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:uixgxpiqf4i63p6rgpu7ytmx
CID
bafyreigjcqxtfpauwpiah4x4z3ecvvfyol6rwm5c47ono64bud7mmbag6a
Indexed At
2026-08-06 12:22 UTC
AT-URI
at://did:plc:uixgxpiqf4i63p6rgpu7ytmx/com.atproto.lexicon.schema/com.suibari.nagi.putPreferences

Version History (2 versions)

Referenced Schemas (2)

Lexicon Garden

@