{
  "lexicon": 1,
  "id": "net.bisks.clusterpedia.talk",
  "defs": {
    "main": {
      "type": "record",
      "description": "A discussion-page post about a clusterpedia article, written to the poster's own repo via createRecord (PDS-assigned TID rkey). Written and read by clusterpedia (https://clusterpedia.bisks.net).",
      "key": "tid",
      "record": {
        "type": "object",
        "required": ["slug", "body", "createdAt"],
        "properties": {
          "slug": {
            "type": "string",
            "maxLength": 80,
            "maxGraphemes": 80,
            "description": "The slug of the article this talk post is about, matching net.bisks.clusterpedia.revision's slug field."
          },
          "body": {
            "type": "string",
            "maxLength": 20000,
            "maxGraphemes": 5000,
            "description": "The talk post text. UI textarea and truncation both cap this at 5000 characters."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "When this talk post was written, as an ISO 8601 datetime."
          }
        }
      }
    }
  }
}
