org.swappulse.conversation

bridge.swappulse.org

Documentation

A 1:1 DM conversation.

main record

A 1:1 DM conversation.

Record Key tid Timestamp-based ID

Properties

authorDid string did Optional

A decentralized identifier (DID).

createdAt string datetime Required

An RFC 3339 formatted timestamp.

lastMessageAt string datetime Optional

An RFC 3339 formatted timestamp.

lastMessageDid string did Optional

A decentralized identifier (DID).

lastMessagePreview string Optional

No description available.

maxLength: 200 bytes
participantDids array of string did Required

No description available.

maxLength: 2 itemsminLength: 2 items
recipientAvatar string uri Optional

A valid URI.

recipientDid string did Required

A decentralized identifier (DID).

recipientHandle string Optional

No description available.

recipientName string Optional

No description available.

View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "recipientDid",
      "participantDids",
      "createdAt"
    ],
    "properties": {
      "authorDid": {
        "type": "string",
        "format": "did"
      },
      "createdAt": {
        "type": "string",
        "format": "datetime"
      },
      "recipientDid": {
        "type": "string",
        "format": "did"
      },
      "lastMessageAt": {
        "type": "string",
        "format": "datetime"
      },
      "recipientName": {
        "type": "string"
      },
      "lastMessageDid": {
        "type": "string",
        "format": "did"
      },
      "participantDids": {
        "type": "array",
        "items": {
          "type": "string",
          "format": "did"
        },
        "maxLength": 2,
        "minLength": 2
      },
      "recipientAvatar": {
        "type": "string",
        "format": "uri"
      },
      "recipientHandle": {
        "type": "string"
      },
      "lastMessagePreview": {
        "type": "string",
        "maxLength": 200
      }
    }
  },
  "description": "A 1:1 DM conversation."
}

Lexicon Garden

@