{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "aspectRatio": {
      "description": "width:height represents an aspect ratio. It may be approximate, and may not correspond to absolute dimensions in any given unit.",
      "properties": {
        "height": {
          "minimum": 1,
          "type": "integer"
        },
        "width": {
          "minimum": 1,
          "type": "integer"
        }
      },
      "required": [
        "width",
        "height"
      ],
      "type": "object"
    },
    "main": {
      "description": "Record containing a nblr post.",
      "key": "tid",
      "record": {
        "properties": {
          "aspectRatio": {
            "description": "Approximate aspect ratio of the image (width:height).",
            "ref": "#aspectRatio",
            "type": "ref"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "description": {
            "description": "Optional description for the post",
            "maxGraphemes": 256,
            "maxLength": 2560,
            "type": "string"
          },
          "image": {
            "accept": [
              "image/*"
            ],
            "description": "Optional image for the post",
            "maxSize": 1000000,
            "type": "blob"
          },
          "title": {
            "description": "Optional title for the post",
            "maxGraphemes": 64,
            "maxLength": 640,
            "type": "string"
          },
          "uri": {
            "description": "The URI of the linked resource; a web URL or AT URI",
            "format": "uri",
            "type": "string"
          }
        },
        "required": [
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.nblr.feed.post",
  "lexicon": 1
}
