full diff

pub.chive.collaboration.invite

From
bafyreid7fgd7rxb6stvidzbog43sexrtdlk7baep5vqhuigi7zmkcpc3uq indexed 2026-06-18 13:14 UTC View this version
To
bafyreid7fgd7rxb6stvidzbog43sexrtdlk7baep5vqhuigi7zmkcpc3uq indexed 2026-06-18 13:14 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "key": "tid",
66 "record": {
77 "properties": {
88 "createdAt": {
99 "format": "datetime",
1010 "type": "string"
1111 },
1212 "expiresAt": {
1313 "description": "Optional expiration after which the invite is no longer valid.",
1414 "format": "datetime",
1515 "type": "string"
1616 },
1717 "invitee": {
1818 "description": "DID of the user being invited.",
1919 "format": "did",
2020 "type": "string"
2121 },
2222 "message": {
2323 "description": "Optional personal note shown to the invitee.",
2424 "maxGraphemes": 200,
2525 "maxLength": 500,
2626 "type": "string"
2727 },
2828 "role": {
2929 "description": "Role granted by this invitation. Defaults to 'collaborator'.",
3030 "knownValues": [
3131 "collaborator",
3232 "editor",
3333 "viewer",
3434 "co-author",
3535 "reviewer"
3636 ],
3737 "type": "string"
3838 },
3939 "subject": {
4040 "description": "StrongRef to any Chive-authored record being shared (collection, eprint, review, etc.).",
4141 "ref": "com.atproto.repo.strongRef",
4242 "type": "ref"
4343 }
4444 },
4545 "required": [
4646 "subject",
4747 "invitee",
4848 "createdAt"
4949 ],
5050 "type": "object"
5151 },
5252 "type": "record"
5353 }
5454 },
5555 "description": "Invitation record from a subject-record author to a potential collaborator. Lives in the inviter's PDS. Generic over any Chive record (collections in v1; eprints, reviews, and other records in the future).",
5656 "id": "pub.chive.collaboration.invite",
5757 "lexicon": 1,
5858 "revision": 1
5959}