{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A long-form review of a catalog work, authored on a NeoDB instance.",
      "key": "any",
      "record": {
        "properties": {
          "body": {
            "description": "Review body in Markdown.",
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "fediverseUri": {
            "description": "Fediverse (ActivityPub) object URI of the corresponding post on the originating NeoDB instance.",
            "format": "uri",
            "type": "string"
          },
          "rating": {
            "description": "Optional rating accompanying the review.",
            "ref": "net.neodb.defs#rating",
            "type": "ref"
          },
          "subject": {
            "ref": "net.neodb.defs#subject",
            "type": "ref"
          },
          "title": {
            "maxGraphemes": 500,
            "maxLength": 2000,
            "type": "string"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "subject",
          "title",
          "body",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "net.neodb.review",
  "lexicon": 1
}
