{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A standard post. Location is a required part of every record in this app, not an optional tag. Belongs to exactly one persona via profileUri; the persona's location.visibility defaults govern how the location is stored and shared. For a gated persona this record lives inside the persona's Space. Spaces provide access control, not confidentiality. The space host and PDS operator can technically read this data.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "images": {
            "items": {
              "properties": {
                "alt": {
                  "maxGraphemes": 2000,
                  "maxLength": 2000,
                  "type": "string"
                },
                "image": {
                  "accept": [
                    "image/png",
                    "image/jpeg",
                    "image/webp"
                  ],
                  "maxSize": 5000000,
                  "type": "blob"
                }
              },
              "required": [
                "image"
              ],
              "type": "object"
            },
            "maxLength": 4,
            "type": "array"
          },
          "location": {
            "description": "Where this post was made. The app must coarsen coordinates to the persona's configured precision (exact / neighborhood / city) before writing.",
            "ref": "app.kalangitan.location.snapshot#geo",
            "type": "ref"
          },
          "profileUri": {
            "description": "AT-URI of the app.kalangitan.actor.profile record this post belongs to.",
            "format": "at-uri",
            "type": "string"
          },
          "text": {
            "maxGraphemes": 6000,
            "maxLength": 6000,
            "type": "string"
          }
        },
        "required": [
          "profileUri",
          "location",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.kalangitan.feed.post",
  "lexicon": 1
}
