{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A comment on a deck, card, or note.",
      "key": "tid",
      "record": {
        "properties": {
          "body": {
            "description": "The comment text.",
            "maxLength": 5000,
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "replyTo": {
            "description": "The parent comment if this is a reply.",
            "format": "at-uri",
            "type": "string"
          },
          "subjectRef": {
            "description": "The root subject being commented on.",
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "subjectRef",
          "body",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "org.stormlightlabs.malfestio.thread.comment",
  "lexicon": 1
}
