# app.studynext.groupAlertSettings

> Per-group follow-up alert configuration (group-wide disabled signals plus per-member overrides), written into the shared moderation account's (studynext.app) repo by the group-alert-settings ingest endpoint. One record per group. rkey = the group's own rkey (see app.studynext.managedGroup).

- Kind: record
- Record key: any
- 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.groupAlertSettings)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:nstib2qjcu3tyun7cxz4dxcm/app.studynext.groupAlertSettings/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:nstib2qjcu3tyun7cxz4dxcm/app.studynext.groupAlertSettings/analytics)

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

Type: record · key any

### Properties

- `groupDisabled` (array, required): Follow-up signal ids (A-G) disabled by default for the whole group.
  - Constraints: maxLength: 20
  - `items` (string)
    - Constraints: knownValues: A | B | C | D | E | F | G
- `groupUri` (string · at-uri, required)
- `memberOverrides` (array, required)
  - Constraints: maxLength: 500
  - `items` (ref)
    - Reference: `#memberOverride`
- `updatedAt` (string · datetime, required)

## #memberOverride (`app.studynext.groupAlertSettings#memberOverride`)

Type: object

### Properties

- `disabled` (array, required): Signals forced OFF for this member even if enabled group-wide.
  - Constraints: maxLength: 20
  - `items` (string)
    - Constraints: knownValues: A | B | C | D | E | F | G
- `enabled` (array, required): Signals forced ON for this member even if disabled group-wide.
  - Constraints: maxLength: 20
  - `items` (string)
    - Constraints: knownValues: A | B | C | D | E | F | G
- `memberDid` (string · did, required)

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Per-group follow-up alert configuration (group-wide disabled signals plus per-member overrides), written into the shared moderation account's (studynext.app) repo by the group-alert-settings ingest endpoint. One record per group. rkey = the group's own rkey (see app.studynext.managedGroup).",
      "key": "any",
      "record": {
        "properties": {
          "groupDisabled": {
            "description": "Follow-up signal ids (A-G) disabled by default for the whole group.",
            "items": {
              "knownValues": [
                "A",
                "B",
                "C",
                "D",
                "E",
                "F",
                "G"
              ],
              "type": "string"
            },
            "maxLength": 20,
            "type": "array"
          },
          "groupUri": {
            "format": "at-uri",
            "type": "string"
          },
          "memberOverrides": {
            "items": {
              "ref": "#memberOverride",
              "type": "ref"
            },
            "maxLength": 500,
            "type": "array"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "groupUri",
          "groupDisabled",
          "memberOverrides",
          "updatedAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "memberOverride": {
      "properties": {
        "disabled": {
          "description": "Signals forced OFF for this member even if enabled group-wide.",
          "items": {
            "knownValues": [
              "A",
              "B",
              "C",
              "D",
              "E",
              "F",
              "G"
            ],
            "type": "string"
          },
          "maxLength": 20,
          "type": "array"
        },
        "enabled": {
          "description": "Signals forced ON for this member even if disabled group-wide.",
          "items": {
            "knownValues": [
              "A",
              "B",
              "C",
              "D",
              "E",
              "F",
              "G"
            ],
            "type": "string"
          },
          "maxLength": 20,
          "type": "array"
        },
        "memberDid": {
          "format": "did",
          "type": "string"
        }
      },
      "required": [
        "memberDid",
        "disabled",
        "enabled"
      ],
      "type": "object"
    }
  },
  "id": "app.studynext.groupAlertSettings",
  "lexicon": 1
}
```
