social.coves.community.wiki

coves.social

Documentation

Community wiki page

main record

Community wiki page

Record Key tid Timestamp-based ID

Properties

content string Required

Markdown-formatted wiki content

maxLength: 50000 bytes
createdAt string datetime Required

An RFC 3339 formatted timestamp.

editHistory array of ref #wikiEdit Optional

History of edits (stored separately for efficiency)

lastEditedBy string did Optional

DID of the last editor

slug string Optional

URL-friendly page identifier

maxLength: 128 bytes
title string Required

Wiki page title

maxLength: 512 bytesmaxGraphemes: 128 graphemes
updatedAt string datetime Optional

An RFC 3339 formatted timestamp.

View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "title",
      "content",
      "createdAt"
    ],
    "properties": {
      "slug": {
        "type": "string",
        "maxLength": 128,
        "description": "URL-friendly page identifier"
      },
      "title": {
        "type": "string",
        "maxLength": 512,
        "description": "Wiki page title",
        "maxGraphemes": 128
      },
      "content": {
        "type": "string",
        "maxLength": 50000,
        "description": "Markdown-formatted wiki content"
      },
      "createdAt": {
        "type": "string",
        "format": "datetime"
      },
      "updatedAt": {
        "type": "string",
        "format": "datetime"
      },
      "editHistory": {
        "type": "array",
        "items": {
          "ref": "#wikiEdit",
          "type": "ref"
        },
        "description": "History of edits (stored separately for efficiency)"
      },
      "lastEditedBy": {
        "type": "string",
        "format": "did",
        "description": "DID of the last editor"
      }
    }
  },
  "description": "Community wiki page"
}
wikiEdit object

No description available.

Properties

editor string did Required

A decentralized identifier (DID).

summary string Optional

Edit summary

maxLength: 256 bytes
timestamp string datetime Required

An RFC 3339 formatted timestamp.

View raw schema
{
  "type": "object",
  "required": [
    "editor",
    "timestamp"
  ],
  "properties": {
    "editor": {
      "type": "string",
      "format": "did"
    },
    "summary": {
      "type": "string",
      "maxLength": 256,
      "description": "Edit summary"
    },
    "timestamp": {
      "type": "string",
      "format": "datetime"
    }
  }
}

Lexicon Garden

@