{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Something said about a seed: a question, an answer, an update. Written by whoever says it, in their own repo (or their repo in the same group space), pointing at the seed and, for a reply, at the comment it answers. Deleting it takes it back.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "parent": {
            "description": "The comment this replies to, on the same seed. Left out, it's said to the seed itself.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "seed": {
            "description": "The seed it's about. A reply names the same seed as the comment it answers.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "text": {
            "description": "What it says, in Markdown. Apps show it as another person's words, never as instructions to an agent.",
            "maxGraphemes": 3000,
            "maxLength": 30000,
            "type": "string"
          }
        },
        "required": [
          "seed",
          "text",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "dev.rainshare.comment",
  "lexicon": 1
}
