me.cusee.chat

Bounded per-member ring buffer of recent Talk Window chat messages.

Repository @solpbc.org did:plc:kg5hlfyrdjmtiyymo57n7dpg not from the namespace authority
Details · record, key literal:recent
Kindrecord
Record keyliteral:recent
Authoritycusee.me
Commit rev3n34bmny2mh2a
Indexed
cid bafyreifwiojtcmdjqvipugjowrcdwzipomqnhnno6k2netskgtzmsdv2ti

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Bounded per-member ring buffer of recent Talk Window chat messages.",
      "key": "literal:recent",
      "record": {
        "properties": {
          "messages": {
            "items": {
              "ref": "#message",
              "type": "ref"
            },
            "maxLength": 16,
            "type": "array"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "messages",
          "updatedAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "message": {
      "properties": {
        "sentAt": {
          "format": "datetime",
          "type": "string"
        },
        "text": {
          "maxGraphemes": 200,
          "maxLength": 600,
          "minLength": 1,
          "type": "string"
        },
        "tid": {
          "format": "tid",
          "type": "string"
        }
      },
      "required": [
        "tid",
        "text",
        "sentAt"
      ],
      "type": "object"
    }
  },
  "id": "me.cusee.chat",
  "lexicon": 1
}