{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Record containing a Bookhive comment.",
      "key": "tid",
      "record": {
        "properties": {
          "book": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "comment": {
            "description": "The content of the comment.",
            "maxGraphemes": 10000,
            "maxLength": 100000,
            "type": "string"
          },
          "createdAt": {
            "description": "Client-declared timestamp when this comment was originally created.",
            "format": "datetime",
            "type": "string"
          },
          "parent": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          }
        },
        "required": [
          "comment",
          "createdAt",
          "book",
          "parent"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "buzz.bookhive.buzz",
  "lexicon": 1
}
