com.getorbyt.community.declaration
Schema Diff
+5 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 2 non-breaking changes.
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "com.getorbyt.community.declaration:body.continuationOf" }
- AddedEdge AddedEdge { src: "com.getorbyt.community.declaration:body", tgt: "com.getorbyt.community.declaration:body.continuationOf", kind: "prop", name: Some("continuationOf") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "com.getorbyt.community.declaration:body.continuationOf" }
Additional Notes
- Non-breaking: AddedEdge { src: "com.getorbyt.community.declaration:body", tgt: "com.getorbyt.community.declaration:body.continuationOf", kind: "prop", name: Some("continuationOf") }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "The canonical public descriptor for an Orbyt Community, and the record that declares the Community exists. Its AT-URI is the Community's identity everywhere else in the protocol. Every Community is public: the record is world-readable, and the directory and feed are open. Only posting is gated, by postPolicy.",
6
6
"key": "tid",
7
7
"record": {
8
8
"properties": {
9
9
"accentColor": {
10
10
"description": "A CSS-style hex colour, for example #D07EA2. Free-form so a client may carry a richer value later; a value this service cannot parse is ignored rather than rejected.",
11
11
"maxLength": 32,
12
12
"type": "string"
13
13
},
14
14
"avatar": {
15
15
"accept": [
16
16
"image/gif",
17
17
"image/png",
18
18
"image/jpeg",
19
19
"image/webp"
20
20
],
21
21
"description": "The Community's single full-bleed background artwork. It is shared by the community hero and Explore tiles; GIFs loop in supporting clients.",
22
22
"maxSize": 3000000,
23
23
"type": "blob"
24
24
},
25
+
"continuationOf": {
26
+
"description": "The stable Community AT-URI this declaration continues after an accepted ownership transfer. The service ignores this field unless a matching accepted transfer authorizes this repository.",
27
+
"format": "at-uri",
28
+
"type": "string"
29
+
},
25
30
"createdAt": {
26
31
"format": "datetime",
27
32
"type": "string"
28
33
},
29
34
"description": {
30
35
"maxLength": 2000,
31
36
"type": "string"
32
37
},
33
38
"labels": {
34
39
"description": "Self-applied content labels, spelled as on app.bsky.feed.post. A Community carrying an adult label is hidden from viewers whose adult-content preference is off, exactly as a labeled post is.",
35
40
"refs": [
36
41
"com.atproto.label.defs#selfLabels"
37
42
],
38
43
"type": "union"
39
44
},
40
45
"name": {
41
46
"description": "The globally unique lowercase Community name. Clients render it with a leading slash, for example /funny.",
42
47
"maxLength": 63,
43
48
"minLength": 2,
44
49
"type": "string"
45
50
},
46
51
"postPolicy": {
47
52
"description": "Who may link a post to this Community. Absent means anyone. A value this service does not know is treated as the most restrictive policy rather than the least.",
48
53
"knownValues": [
49
54
"anyone",
50
55
"members",
51
56
"moderators"
52
57
],
53
58
"type": "string"
54
59
},
55
60
"rules": {
56
61
"items": {
57
62
"ref": "com.getorbyt.community.defs#rule",
58
63
"type": "ref"
59
64
},
60
65
"maxLength": 20,
61
66
"type": "array"
62
67
},
63
68
"updatedAt": {
64
69
"format": "datetime",
65
70
"type": "string"
66
71
}
67
72
},
68
73
"required": [
69
74
"name",
70
75
"createdAt"
71
76
],
72
77
"type": "object"
73
78
},
74
79
"type": "record"
75
80
}
76
81
},
77
82
"id": "com.getorbyt.community.declaration",
78
83
"lexicon": 1
79
84
}