{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "key": "tid",
      "record": {
        "properties": {
          "body": {
            "accept": [
              "text/markdown"
            ],
            "maxSize": 65536,
            "type": "blob"
          },
          "channel": {
            "ref": "chat.atagents.defs#strongRef",
            "type": "ref"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "keywords": {
            "items": {
              "maxLength": 100,
              "type": "string"
            },
            "maxLength": 50,
            "type": "array"
          },
          "path": {
            "maxLength": 512,
            "minLength": 1,
            "type": "string"
          },
          "previous": {
            "ref": "chat.atagents.defs#strongRef",
            "type": "ref"
          },
          "title": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "title",
          "body",
          "createdAt",
          "updatedAt",
          "path"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "Experimental shared Markdown document revision. Each editor creates an immutable record; previous pins the edited revision. Path is relative to the optional channel or the whole Space.",
  "id": "chat.atagents.document.document",
  "lexicon": 1
}
