net.carecubby.partnerOrg
Schema Diff
+10 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 2 non-breaking changes.
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "net.carecubby.partnerOrg:body.logo" }
- AddedEdge AddedEdge { src: "net.carecubby.partnerOrg:body", tgt: "net.carecubby.partnerOrg:body.logo", kind: "prop", name: Some("logo") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "net.carecubby.partnerOrg:body.logo" }
Additional Notes
- Non-breaking: AddedEdge { src: "net.carecubby.partnerOrg:body", tgt: "net.carecubby.partnerOrg:body.logo", kind: "prop", name: Some("logo") }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "A Care Cubby partner organization record.",
6
6
"key": "tid",
7
7
"record": {
8
8
"properties": {
9
9
"description": {
10
10
"description": "Long-form description of the org and its role in the project.",
11
11
"maxGraphemes": 5000,
12
12
"maxLength": 20000,
13
13
"minGraphemes": 1,
14
14
"type": "string"
15
15
},
16
16
"focus": {
17
17
"description": "Primary area of focus of the org's work with the project.",
18
18
"maxGraphemes": 500,
19
19
"maxLength": 1000,
20
20
"minGraphemes": 1,
21
21
"type": "string"
22
22
},
23
+
"logo": {
24
+
"accept": [
25
+
"image/png",
26
+
"image/jpeg",
27
+
"image/webp"
28
+
],
29
+
"description": "Optional logo of the organization, uploaded as a blob to the PDS.\nThe frontend renders it via `com.atproto.sync.getBlob`.",
30
+
"maxSize": 1000000,
31
+
"type": "blob"
32
+
},
23
33
"name": {
24
34
"description": "Common name of the organization.",
25
35
"maxGraphemes": 200,
26
36
"maxLength": 400,
27
37
"minGraphemes": 1,
28
38
"type": "string"
29
39
},
30
40
"type": {
31
41
"description": "Organizational type. Open set — the current values are documented\nbelow; new types are allowed.",
32
42
"knownValues": [
33
43
"Arts Organization",
34
44
"Community Organization",
35
45
"501(c)(3) Nonprofit",
36
46
"501(c)(4) Nonprofit"
37
47
],
38
48
"maxLength": 100,
39
49
"type": "string"
40
50
},
41
51
"website": {
42
52
"description": "Website or social profile of the organization.",
43
53
"format": "uri",
44
54
"maxLength": 2048,
45
55
"type": "string"
46
56
}
47
57
},
48
58
"required": [
49
59
"name",
50
60
"description",
51
61
"website",
52
62
"type",
53
63
"focus"
54
64
],
55
65
"type": "object"
56
66
},
57
67
"type": "record"
58
68
}
59
69
},
60
70
"description": "A partner organization of Care Cubby.\n\nCare Cubby is run in partnership with local grassroots orgs,\nbusinesses, and nonprofits. This record is the AT Protocol form of\none entry in `location-frontend/src/data/partnerOrgs.json`; the\nfields map 1:1 to the JSON (plus `$type` on each record).",
61
71
"id": "net.carecubby.partnerOrg",
62
72
"lexicon": 1
63
73
}