{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "attachment": {
      "properties": {
        "alt": {
          "description": "Alt text description of the content, for accessibility.",
          "maxGraphemes": 1000,
          "maxLength": 10000,
          "type": "string"
        },
        "content": {
          "accept": [
            "image/*"
          ],
          "maxSize": 3000000,
          "type": "blob"
        }
      },
      "required": [
        "content"
      ],
      "type": "object"
    },
    "main": {
      "description": "A blog post",
      "key": "any",
      "record": {
        "properties": {
          "attachments": {
            "description": "Media attached to the post.",
            "items": {
              "ref": "#attachment",
              "type": "ref"
            },
            "type": "array"
          },
          "content": {
            "accept": [
              "text/plain",
              "text/html",
              "text/markdown"
            ],
            "description": "The content of the post.",
            "maxSize": 1000000,
            "type": "blob"
          },
          "langs": {
            "description": "Indicates human language of text content.",
            "items": {
              "format": "language",
              "type": "string"
            },
            "maxLength": 3,
            "type": "array"
          },
          "publishedAt": {
            "description": "The date and time the post was published.",
            "format": "datetime",
            "type": "string"
          },
          "title": {
            "description": "The title of the post.",
            "maxGraphemes": 200,
            "maxLength": 2000,
            "type": "string"
          }
        },
        "required": [
          "title",
          "content",
          "publishedAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "me.ngerakines.blahg.post",
  "lexicon": 1
}
