# app.studynext.socialPost

> A StudyNext social post. One post per record, normally keyed by a TID. PDS records and blobs are publicly readable; audience is an application-level display hint, not access control.

- Kind: record
- Record key: tid
- Authority: studynext.app
- Lexicon: 1
- Published by [studynext.app](https://lexicon.garden/identity/did:plc:nstib2qjcu3tyun7cxz4dxcm), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:nstib2qjcu3tyun7cxz4dxcm/app.studynext.socialPost)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:nstib2qjcu3tyun7cxz4dxcm/app.studynext.socialPost/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:nstib2qjcu3tyun7cxz4dxcm/app.studynext.socialPost/analytics)

## Record (`app.studynext.socialPost`)

Type: record · key tid

### Properties

- `audience` (string, required): StudyNext display filtering preference. It does not prevent other clients from reading this PDS record.
  - Constraints: knownValues: public | friends
- `createdAt` (string · datetime, required)
- `image` (blob)
  - Constraints: maxSize: 5000000, accept: image/png
- `kind` (string, required)
  - Constraints: knownValues: progress | question | material | encouragement
- `text` (string, required)
  - Constraints: minLength: 1, maxLength: 4000
- `version` (integer, required)
  - Constraints: minimum: 1, maximum: 1

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A StudyNext social post. One post per record, normally keyed by a TID. PDS records and blobs are publicly readable; audience is an application-level display hint, not access control.",
      "key": "tid",
      "record": {
        "properties": {
          "audience": {
            "description": "StudyNext display filtering preference. It does not prevent other clients from reading this PDS record.",
            "knownValues": [
              "public",
              "friends"
            ],
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "image": {
            "accept": [
              "image/png"
            ],
            "maxSize": 5000000,
            "type": "blob"
          },
          "kind": {
            "knownValues": [
              "progress",
              "question",
              "material",
              "encouragement"
            ],
            "type": "string"
          },
          "text": {
            "maxLength": 4000,
            "minLength": 1,
            "type": "string"
          },
          "version": {
            "maximum": 1,
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "version",
          "kind",
          "text",
          "audience",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.studynext.socialPost",
  "lexicon": 1
}
```
