network.sharedcomputer.chat.message

sharedcomputer.network

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "One turn in a conversation. A reply uses its parent's key plus '.r' and the generation attempt, e.g. '.r0', '.r1'.",
      "key": "any",
      "record": {
        "properties": {
          "content": {
            "refs": [
              "network.sharedcomputer.chat.defs#plainContent",
              "network.sharedcomputer.chat.defs#encryptedContent"
            ],
            "type": "union"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "effort": {
            "description": "The reasoning effort (assistant message).",
            "ref": "network.sharedcomputer.chat.defs#effort",
            "type": "ref"
          },
          "error": {
            "maxLength": 3000,
            "type": "string"
          },
          "generation": {
            "description": "Asks the assistant to reply (user message).",
            "ref": "network.sharedcomputer.chat.defs#generationRequest",
            "type": "ref"
          },
          "model": {
            "description": "The model that generated the response (assistant message).",
            "ref": "network.sharedcomputer.chat.defs#modelRef",
            "type": "ref"
          },
          "parent": {
            "description": "The key of the previous message. Siblings are edits or regenerations.",
            "format": "record-key",
            "type": "string"
          },
          "role": {
            "knownValues": [
              "user",
              "assistant"
            ],
            "type": "string"
          },
          "status": {
            "description": "Generation completion status (assistant message).",
            "knownValues": [
              "pending",
              "complete",
              "error",
              "cancelled"
            ],
            "type": "string"
          },
          "usage": {
            "ref": "network.sharedcomputer.chat.defs#usage",
            "type": "ref"
          }
        },
        "required": [
          "role",
          "content",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "network.sharedcomputer.chat.message",
  "lexicon": 1
}

Validate Record

Validate a record against network.sharedcomputer.chat.message

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

Metadata

DID
did:plc:n4mzxx6z4ehnswc7znswtfr2
CID
bafyreifrg4rc7ykblg3ecffflefxoij3jpwja3dua4hbikfenziycgo6d4
Indexed At
2026-09-27 01:44 UTC
AT-URI
at://did:plc:n4mzxx6z4ehnswc7znswtfr2/com.atproto.lexicon.schema/network.sharedcomputer.chat.message

Referenced Schemas (6)

Similar Lexicons

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

Lexicon Garden

@