{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A markdown blog post with extended theme and LaTeX support.",
      "key": "tid",
      "record": {
        "properties": {
          "blobs": {
            "items": {
              "ref": "app.greengale.blog.defs#blobMetadata",
              "type": "ref"
            },
            "type": "array"
          },
          "content": {
            "description": "Markdown content of the blog post",
            "maxLength": 100000,
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "latex": {
            "default": false,
            "description": "Legacy field for LaTeX math rendering. LaTeX is now always enabled for GreenGale posts; this field is kept for backward compatibility.",
            "type": "boolean"
          },
          "ogp": {
            "ref": "app.greengale.blog.defs#ogp",
            "type": "ref"
          },
          "subtitle": {
            "maxLength": 1000,
            "type": "string"
          },
          "theme": {
            "ref": "app.greengale.blog.defs#theme",
            "type": "ref"
          },
          "title": {
            "maxLength": 1000,
            "type": "string"
          },
          "visibility": {
            "default": "public",
            "description": "Controls who can view this entry",
            "enum": [
              "public",
              "url",
              "author"
            ],
            "maxLength": 16,
            "type": "string"
          }
        },
        "required": [
          "content"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.greengale.blog.entry",
  "lexicon": 1
}
