# app.kalangitan.feed.story

> Published by [kalangitan-lexicon.spaces-alpha.bsky.network](https://lexicon.garden/identity/did:plc:c5jrjgenhqjjaoxbkrnqg2bh)

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:c5jrjgenhqjjaoxbkrnqg2bh/app.kalangitan.feed.story)
- [Documentation](https://lexicon.garden/lexicon/did:plc:c5jrjgenhqjjaoxbkrnqg2bh/app.kalangitan.feed.story/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:c5jrjgenhqjjaoxbkrnqg2bh/app.kalangitan.feed.story/examples)

## Definitions

### `app.kalangitan.feed.story`

**Type**: `record`

An ephemeral story: visible until expiresAt, then hidden and eligible for deletion. Location is required. Belongs to exactly one persona via profileUri. For a gated persona this record lives inside the persona's Space; Spaces provide access control, not confidentiality.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `alt` | `string` | No |  |
| `createdAt` | `string` (datetime) | Yes |  |
| `expiresAt` | `string` (datetime) | Yes | When the story stops being visible. The AppView should filter on this and a background job should eventually delete expired records. |
| `location` | `ref` → `app.kalangitan.location.snapshot#geo` | Yes | Where this story was captured, coarsened to the persona's configured precision before writing. |
| `media` | `blob` | Yes |  |
| `profileUri` | `string` (at-uri) | Yes | AT-URI of the app.kalangitan.actor.profile record this story belongs to. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "An ephemeral story: visible until expiresAt, then hidden and eligible for deletion. Location is required. Belongs to exactly one persona via profileUri. For a gated persona this record lives inside the persona's Space; Spaces provide access control, not confidentiality.",
      "key": "tid",
      "record": {
        "properties": {
          "alt": {
            "maxGraphemes": 2000,
            "maxLength": 2000,
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "expiresAt": {
            "description": "When the story stops being visible. The AppView should filter on this and a background job should eventually delete expired records.",
            "format": "datetime",
            "type": "string"
          },
          "location": {
            "description": "Where this story was captured, coarsened to the persona's configured precision before writing.",
            "ref": "app.kalangitan.location.snapshot#geo",
            "type": "ref"
          },
          "media": {
            "accept": [
              "image/png",
              "image/jpeg",
              "image/webp"
            ],
            "maxSize": 8000000,
            "type": "blob"
          },
          "profileUri": {
            "description": "AT-URI of the app.kalangitan.actor.profile record this story belongs to.",
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "profileUri",
          "media",
          "location",
          "expiresAt",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.kalangitan.feed.story",
  "lexicon": 1
}
```
