app.studynext.teamMembership
A member's participation and sharing preferences for a study team. One record per membership in the member's PDS; new writes use a TID rkey, while pre-TID legacy keys remain readable. PDS records are public; shareProgress/shareTotals are application-level consent, not access control.
Details · record, key any
| Kind | record |
|---|---|
| Record key | any |
| Authority | studynext.app |
| Commit rev | 3n3kcorpjxk2t |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "A member's participation and sharing preferences for a study team. One record per membership in the member's PDS; new writes use a TID rkey, while pre-TID legacy keys remain readable. PDS records are public; shareProgress/shareTotals are application-level consent, not access control.",
"key": "any",
"record": {
"properties": {
"active": {
"type": "boolean"
},
"admissionId": {
"maxLength": 80,
"minLength": 16,
"type": "string"
},
"goal": {
"ref": "app.studynext.studyTeam#goal",
"type": "ref"
},
"goalDays": {
"maximum": 7,
"minimum": 1,
"type": "integer"
},
"inviteRevision": {
"maxLength": 80,
"minLength": 16,
"type": "string"
},
"joinedAt": {
"format": "datetime",
"type": "string"
},
"memberRevision": {
"minimum": 0,
"type": "integer"
},
"shareProgress": {
"description": "Application-level consent to share progress with this team; it cannot make the PDS record private.",
"type": "boolean"
},
"shareTotals": {
"description": "Application-level consent to share time/task totals. Absent in older records; consumers should treat it as false.",
"type": "boolean"
},
"teamUri": {
"description": "AT-URI of the owner's app.studynext.studyTeam record.",
"format": "at-uri",
"type": "string"
},
"updatedAt": {
"format": "datetime",
"type": "string"
},
"version": {
"maximum": 1,
"minimum": 1,
"type": "integer"
}
},
"required": [
"version",
"teamUri",
"active",
"shareProgress",
"goalDays",
"joinedAt",
"updatedAt"
],
"type": "object"
},
"type": "record"
}
},
"id": "app.studynext.teamMembership",
"lexicon": 1
}