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
"id": "net.carecubby.partnerOrg",
3
3
"defs": {
4
4
"main": {
5
5
"key": "tid",
6
6
"type": "record",
7
7
"record": {
8
8
"type": "object",
9
9
"required": [
10
10
"name",
11
11
"description",
12
12
"website",
13
13
"type",
14
14
"focus"
15
15
],
16
16
"properties": {
17
+
"logo": {
18
+
"type": "blob",
19
+
"accept": [
20
+
"image/png",
21
+
"image/jpeg",
22
+
"image/webp"
23
+
],
24
+
"maxSize": 1000000,
25
+
"description": "Optional logo of the organization, uploaded as a blob to the PDS.\nThe frontend renders it via `com.atproto.sync.getBlob`."
26
+
},
17
27
"name": {
18
28
"type": "string",
19
29
"maxLength": 400,
20
30
"description": "Common name of the organization.",
21
31
"maxGraphemes": 200,
22
32
"minGraphemes": 1
23
33
},
24
34
"type": {
25
35
"type": "string",
26
36
"maxLength": 100,
27
37
"description": "Organizational type. Open set — the current values are documented\nbelow; new types are allowed.",
28
38
"knownValues": [
29
39
"Arts Organization",
30
40
"Community Organization",
31
41
"501(c)(3) Nonprofit",
32
42
"501(c)(4) Nonprofit"
33
43
]
34
44
},
35
45
"focus": {
36
46
"type": "string",
37
47
"maxLength": 1000,
38
48
"description": "Primary area of focus of the org's work with the project.",
39
49
"maxGraphemes": 500,
40
50
"minGraphemes": 1
41
51
},
42
52
"website": {
43
53
"type": "string",
44
54
"format": "uri",
45
55
"maxLength": 2048,
46
56
"description": "Website or social profile of the organization."
47
57
},
48
58
"description": {
49
59
"type": "string",
50
60
"maxLength": 20000,
51
61
"description": "Long-form description of the org and its role in the project.",
52
62
"maxGraphemes": 5000,
53
63
"minGraphemes": 1
54
64
}
55
65
}
56
66
},
57
67
"description": "A Care Cubby partner organization record."
58
68
}
59
69
},
60
70
"$type": "com.atproto.lexicon.schema",
61
71
"lexicon": 1,
62
72
"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)."
63
73
}