network.sharedcomputer.chat.conversationRef

sharedcomputer.network

Documentation

The conversation index, stored in the user's settings space. Its record key is the conversation's space key. Clients must update it whenever they change the conversation.

main record

The conversation index, stored in the user's settings space. Its record key is the conversation's space key. Clients must update it whenever they change the conversation.

Record Key tid Timestamp-based ID

Properties

conversation string space-ref Required

The conversation's space URI.

maxLength: 1024 bytes
tags array of string Optional

The user's tags for organizing their chats.

maxLength: 32 items
title string Optional

Copy of the title in the conversation's info record.

maxLength: 3000 bytesmaxGraphemes: 300 graphemes
updatedAt string datetime Required

An RFC 3339 formatted timestamp.

View raw schema
{
  "description": "The conversation index, stored in the user's settings space. Its record key is the conversation's space key. Clients must update it whenever they change the conversation.",
  "key": "tid",
  "record": {
    "properties": {
      "conversation": {
        "description": "The conversation's space URI.",
        "format": "space-ref",
        "maxLength": 1024,
        "type": "string"
      },
      "sealed": {
        "description": "When the conversation is encrypted, holds title and tags. Those fields are then left out of the record.",
        "ref": "network.sharedcomputer.chat.defs#encryptedContent",
        "type": "ref"
      },
      "tags": {
        "description": "The user's tags for organizing their chats.",
        "items": {
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        },
        "maxLength": 32,
        "type": "array"
      },
      "title": {
        "description": "Copy of the title in the conversation's info record.",
        "maxGraphemes": 300,
        "maxLength": 3000,
        "type": "string"
      },
      "updatedAt": {
        "format": "datetime",
        "type": "string"
      }
    },
    "required": [
      "conversation",
      "updatedAt"
    ],
    "type": "object"
  },
  "type": "record"
}

Lexicon Garden

@