com.kosora623.pikkles.exchange

kosora623.bsky.social

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "交換の記録。交換した2人がそれぞれ自分のPDSに書く。",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "gave": {
            "description": "自分が渡したステッカー",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "message": {
            "description": "この交換で相手に渡す一言(任意)。渡す側が自分の記録に書く。成立の照合には使わない",
            "maxGraphemes": 100,
            "maxLength": 1000,
            "type": "string"
          },
          "occasion": {
            "description": "交換した場面(任意、手入力。位置情報ではない)。サーバーが持つセッションの値をそのまま入れる",
            "maxGraphemes": 50,
            "maxLength": 500,
            "type": "string"
          },
          "partner": {
            "description": "交換相手のDID",
            "format": "did",
            "type": "string"
          },
          "received": {
            "description": "受け取ったステッカー",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "sessionId": {
            "maxLength": 128,
            "type": "string"
          }
        },
        "required": [
          "sessionId",
          "partner",
          "gave",
          "received",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "com.kosora623.pikkles.exchange",
  "lexicon": 1
}

Validate Record

Validate a record against com.kosora623.pikkles.exchange

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:mi67np3wgmwyjtqmgy3l5y2m
CID
bafyreicjzwscw6ynha7pcq2j6tw2p7742jvt2roulwvyy4dy674abs2hcq
Indexed At
2026-10-26 02:53 UTC
AT-URI
at://did:plc:mi67np3wgmwyjtqmgy3l5y2m/com.atproto.lexicon.schema/com.kosora623.pikkles.exchange

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Definition of a transaction

  • The listing owner's attestation of an exchange: who was chosen to give/receive the listed gift, and when it was completed. The counterparty attests via community.gifthood.exchangeResponse; a mutually confirmed pair is f…

  • org.swappulse.conversation recordnot from the namespace authority

    A 1:1 direct-message conversation between two collectors, mirrored to AT Protocol as a real org.swappulse.conversation record. The creator is tracked by authorDid; the other participant by recipientDid so both can read.

Lexicon Garden

@