id.sifa.org.profile
Schema Diff
+129 -0
Compatibility Analysis
Breaking Changes Detected
2 breaking changes, 42 non-breaking changes.
Breaking Changes (2)
- RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "id.sifa.org.profile#orgLink", src: "id.sifa.org.profile#orgLink", tgt: "id.sifa.org.profile#orgLink.name", kind: "prop", name: Some("name") }
- RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "id.sifa.org.profile#orgLink", src: "id.sifa.org.profile#orgLink", tgt: "id.sifa.org.profile#orgLink.url", kind: "prop", name: Some("url") }
Non-Breaking Changes (42)
- AddedVertex AddedVertex { vertex_id: "id.sifa.defs#industryDomain" }
- AddedVertex AddedVertex { vertex_id: "id.sifa.org.profile#orgAddress" }
- AddedVertex AddedVertex { vertex_id: "id.sifa.org.profile#orgAddress.country" }
- AddedVertex AddedVertex { vertex_id: "id.sifa.org.profile#orgAddress.locality" }
- AddedVertex AddedVertex { vertex_id: "id.sifa.org.profile#orgAddress.name" }
- AddedVertex AddedVertex { vertex_id: "id.sifa.org.profile#orgAddress.postalCode" }
- AddedVertex AddedVertex { vertex_id: "id.sifa.org.profile#orgAddress.region" }
- AddedVertex AddedVertex { vertex_id: "id.sifa.org.profile#orgAddress.street" }
- AddedVertex AddedVertex { vertex_id: "id.sifa.org.profile#orgLink" }
- AddedVertex AddedVertex { vertex_id: "id.sifa.org.profile#orgLink.name" }
- AddedVertex AddedVertex { vertex_id: "id.sifa.org.profile#orgLink.url" }
- AddedVertex AddedVertex { vertex_id: "id.sifa.org.profile:body.addresses" }
- AddedVertex AddedVertex { vertex_id: "id.sifa.org.profile:body.addresses:items" }
- AddedVertex AddedVertex { vertex_id: "id.sifa.org.profile:body.aliases" }
- AddedVertex AddedVertex { vertex_id: "id.sifa.org.profile:body.aliases:items" }
- AddedVertex AddedVertex { vertex_id: "id.sifa.org.profile:body.companySize" }
- AddedVertex AddedVertex { vertex_id: "id.sifa.org.profile:body.companyType" }
- AddedVertex AddedVertex { vertex_id: "id.sifa.org.profile:body.founded" }
- AddedVertex AddedVertex { vertex_id: "id.sifa.org.profile:body.industries" }
- AddedVertex AddedVertex { vertex_id: "id.sifa.org.profile:body.industries:items" }
- AddedVertex AddedVertex { vertex_id: "id.sifa.org.profile:body.links" }
- AddedVertex AddedVertex { vertex_id: "id.sifa.org.profile:body.links:items" }
- AddedEdge AddedEdge { src: "id.sifa.org.profile#orgAddress", tgt: "id.sifa.org.profile#orgAddress.country", kind: "prop", name: Some("country") }
- AddedEdge AddedEdge { src: "id.sifa.org.profile#orgAddress", tgt: "id.sifa.org.profile#orgAddress.locality", kind: "prop", name: Some("locality") }
- AddedEdge AddedEdge { src: "id.sifa.org.profile#orgAddress", tgt: "id.sifa.org.profile#orgAddress.name", kind: "prop", name: Some("name") }
- AddedEdge AddedEdge { src: "id.sifa.org.profile#orgAddress", tgt: "id.sifa.org.profile#orgAddress.postalCode", kind: "prop", name: Some("postalCode") }
- AddedEdge AddedEdge { src: "id.sifa.org.profile#orgAddress", tgt: "id.sifa.org.profile#orgAddress.region", kind: "prop", name: Some("region") }
- AddedEdge AddedEdge { src: "id.sifa.org.profile#orgAddress", tgt: "id.sifa.org.profile#orgAddress.street", kind: "prop", name: Some("street") }
- AddedEdge AddedEdge { src: "id.sifa.org.profile:body", tgt: "id.sifa.org.profile:body.addresses", kind: "prop", name: Some("addresses") }
- AddedEdge AddedEdge { src: "id.sifa.org.profile:body", tgt: "id.sifa.org.profile:body.aliases", kind: "prop", name: Some("aliases") }
- AddedEdge AddedEdge { src: "id.sifa.org.profile:body", tgt: "id.sifa.org.profile:body.companySize", kind: "prop", name: Some("companySize") }
- AddedEdge AddedEdge { src: "id.sifa.org.profile:body", tgt: "id.sifa.org.profile:body.companyType", kind: "prop", name: Some("companyType") }
- AddedEdge AddedEdge { src: "id.sifa.org.profile:body", tgt: "id.sifa.org.profile:body.founded", kind: "prop", name: Some("founded") }
- AddedEdge AddedEdge { src: "id.sifa.org.profile:body", tgt: "id.sifa.org.profile:body.industries", kind: "prop", name: Some("industries") }
- AddedEdge AddedEdge { src: "id.sifa.org.profile:body", tgt: "id.sifa.org.profile:body.links", kind: "prop", name: Some("links") }
- AddedEdge AddedEdge { src: "id.sifa.org.profile:body.addresses", tgt: "id.sifa.org.profile:body.addresses:items", kind: "items", name: None }
- AddedEdge AddedEdge { src: "id.sifa.org.profile:body.addresses:items", tgt: "id.sifa.org.profile#orgAddress", kind: "ref", name: None }
- AddedEdge AddedEdge { src: "id.sifa.org.profile:body.aliases", tgt: "id.sifa.org.profile:body.aliases:items", kind: "items", name: None }
- AddedEdge AddedEdge { src: "id.sifa.org.profile:body.industries", tgt: "id.sifa.org.profile:body.industries:items", kind: "items", name: None }
- AddedEdge AddedEdge { src: "id.sifa.org.profile:body.industries:items", tgt: "id.sifa.defs#industryDomain", kind: "ref", name: None }
- AddedEdge AddedEdge { src: "id.sifa.org.profile:body.links", tgt: "id.sifa.org.profile:body.links:items", kind: "items", name: None }
- AddedEdge AddedEdge { src: "id.sifa.org.profile:body.links:items", tgt: "id.sifa.org.profile#orgLink", kind: "ref", name: None }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "id.sifa.defs#industryDomain" }AddedVertex { vertex_id: "id.sifa.org.profile#orgAddress" }AddedVertex { vertex_id: "id.sifa.org.profile#orgAddress.country" }AddedVertex { vertex_id: "id.sifa.org.profile#orgAddress.locality" }AddedVertex { vertex_id: "id.sifa.org.profile#orgAddress.name" }AddedVertex { vertex_id: "id.sifa.org.profile#orgAddress.postalCode" }AddedVertex { vertex_id: "id.sifa.org.profile#orgAddress.region" }AddedVertex { vertex_id: "id.sifa.org.profile#orgAddress.street" }AddedVertex { vertex_id: "id.sifa.org.profile#orgLink" }AddedVertex { vertex_id: "id.sifa.org.profile#orgLink.name" }AddedVertex { vertex_id: "id.sifa.org.profile#orgLink.url" }AddedVertex { vertex_id: "id.sifa.org.profile:body.addresses" }AddedVertex { vertex_id: "id.sifa.org.profile:body.addresses:items" }AddedVertex { vertex_id: "id.sifa.org.profile:body.aliases" }AddedVertex { vertex_id: "id.sifa.org.profile:body.aliases:items" }AddedVertex { vertex_id: "id.sifa.org.profile:body.companySize" }AddedVertex { vertex_id: "id.sifa.org.profile:body.companyType" }AddedVertex { vertex_id: "id.sifa.org.profile:body.founded" }AddedVertex { vertex_id: "id.sifa.org.profile:body.industries" }AddedVertex { vertex_id: "id.sifa.org.profile:body.industries:items" }AddedVertex { vertex_id: "id.sifa.org.profile:body.links" }AddedVertex { vertex_id: "id.sifa.org.profile:body.links:items" }
Additional Notes
- Breaking: RequiredEdgeAdded { vertex_id: "id.sifa.org.profile#orgLink", src: "id.sifa.org.profile#orgLink", tgt: "id.sifa.org.profile#orgLink.name", kind: "prop", name: Some("name") }
- Breaking: RequiredEdgeAdded { vertex_id: "id.sifa.org.profile#orgLink", src: "id.sifa.org.profile#orgLink", tgt: "id.sifa.org.profile#orgLink.url", kind: "prop", name: Some("url") }
- Non-breaking: AddedEdge { src: "id.sifa.org.profile#orgAddress", tgt: "id.sifa.org.profile#orgAddress.country", kind: "prop", name: Some("country") }
- Non-breaking: AddedEdge { src: "id.sifa.org.profile#orgAddress", tgt: "id.sifa.org.profile#orgAddress.locality", kind: "prop", name: Some("locality") }
- Non-breaking: AddedEdge { src: "id.sifa.org.profile#orgAddress", tgt: "id.sifa.org.profile#orgAddress.name", kind: "prop", name: Some("name") }
- Non-breaking: AddedEdge { src: "id.sifa.org.profile#orgAddress", tgt: "id.sifa.org.profile#orgAddress.postalCode", kind: "prop", name: Some("postalCode") }
- Non-breaking: AddedEdge { src: "id.sifa.org.profile#orgAddress", tgt: "id.sifa.org.profile#orgAddress.region", kind: "prop", name: Some("region") }
- Non-breaking: AddedEdge { src: "id.sifa.org.profile#orgAddress", tgt: "id.sifa.org.profile#orgAddress.street", kind: "prop", name: Some("street") }
- Non-breaking: AddedEdge { src: "id.sifa.org.profile:body", tgt: "id.sifa.org.profile:body.addresses", kind: "prop", name: Some("addresses") }
- Non-breaking: AddedEdge { src: "id.sifa.org.profile:body", tgt: "id.sifa.org.profile:body.aliases", kind: "prop", name: Some("aliases") }
- Non-breaking: AddedEdge { src: "id.sifa.org.profile:body", tgt: "id.sifa.org.profile:body.companySize", kind: "prop", name: Some("companySize") }
- Non-breaking: AddedEdge { src: "id.sifa.org.profile:body", tgt: "id.sifa.org.profile:body.companyType", kind: "prop", name: Some("companyType") }
- Non-breaking: AddedEdge { src: "id.sifa.org.profile:body", tgt: "id.sifa.org.profile:body.founded", kind: "prop", name: Some("founded") }
- Non-breaking: AddedEdge { src: "id.sifa.org.profile:body", tgt: "id.sifa.org.profile:body.industries", kind: "prop", name: Some("industries") }
- Non-breaking: AddedEdge { src: "id.sifa.org.profile:body", tgt: "id.sifa.org.profile:body.links", kind: "prop", name: Some("links") }
- Non-breaking: AddedEdge { src: "id.sifa.org.profile:body.addresses", tgt: "id.sifa.org.profile:body.addresses:items", kind: "items", name: None }
- Non-breaking: AddedEdge { src: "id.sifa.org.profile:body.addresses:items", tgt: "id.sifa.org.profile#orgAddress", kind: "ref", name: None }
- Non-breaking: AddedEdge { src: "id.sifa.org.profile:body.aliases", tgt: "id.sifa.org.profile:body.aliases:items", kind: "items", name: None }
- Non-breaking: AddedEdge { src: "id.sifa.org.profile:body.industries", tgt: "id.sifa.org.profile:body.industries:items", kind: "items", name: None }
- Non-breaking: AddedEdge { src: "id.sifa.org.profile:body.industries:items", tgt: "id.sifa.defs#industryDomain", kind: "ref", name: None }
- Non-breaking: AddedEdge { src: "id.sifa.org.profile:body.links", tgt: "id.sifa.org.profile:body.links:items", kind: "items", name: None }
- Non-breaking: AddedEdge { src: "id.sifa.org.profile:body.links:items", tgt: "id.sifa.org.profile#orgLink", kind: "ref", name: None }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "The organization's self-declared profile. Singleton: one org declaration per DID, following the app.bsky.actor.profile pattern.",
6
6
"key": "literal:self",
7
7
"record": {
8
8
"properties": {
9
+
"addresses": {
10
+
"description": "Physical locations for the organization (headquarters, offices), owner-edited on the org page. Each entry mirrors community.lexicon.location.address, but every field is optional and country is NOT ISO-gated at the lexicon layer; Sifa applies country handling and length caps at the app layer. Distinct from id.sifa.profile.location, which is a person's own location record.",
11
+
"items": {
12
+
"ref": "#orgAddress",
13
+
"type": "ref"
14
+
},
15
+
"maxLength": 20,
16
+
"type": "array"
17
+
},
18
+
"aliases": {
19
+
"description": "Alternative names and acronyms the organization is known by (\"also known as\"), owner-declared.",
20
+
"items": {
21
+
"maxGraphemes": 200,
22
+
"maxLength": 2000,
23
+
"type": "string"
24
+
},
25
+
"maxLength": 20,
26
+
"type": "array"
27
+
},
28
+
"companySize": {
29
+
"description": "Declared organization headcount band, owner-edited on the org page. A self-declared bucket, never a calculated count. knownValues is non-exhaustive by AT Protocol convention.",
30
+
"knownValues": [
31
+
"1-10",
32
+
"11-50",
33
+
"51-200",
34
+
"201-500",
35
+
"501-1000",
36
+
"1001-5000",
37
+
"5001-10000",
38
+
"10001+"
39
+
],
40
+
"maxLength": 64,
41
+
"type": "string"
42
+
},
43
+
"companyType": {
44
+
"description": "Declared organization form/type, owner-edited on the org page. A self-declared bucket, never a registry fact. knownValues is non-exhaustive by AT Protocol convention; AppViews layer registry legalForm and AI-derived type separately.",
45
+
"knownValues": [
46
+
"company",
47
+
"cooperative",
48
+
"nonprofit",
49
+
"foundation",
50
+
"government",
51
+
"educational",
52
+
"research_institute",
53
+
"healthcare_provider",
54
+
"professional_association",
55
+
"agency",
56
+
"religious",
57
+
"political",
58
+
"self_employed"
59
+
],
60
+
"maxLength": 64,
61
+
"type": "string"
62
+
},
9
63
"contact": {
10
64
"description": "Contact email address for the organization. NOT rendered publicly; used for notifications only. Validated as an email address at the app layer.",
11
65
"type": "string"
12
66
},
13
67
"createdAt": {
14
68
"description": "Client-declared timestamp when this organization profile was originally created.",
15
69
"format": "datetime",
16
70
"type": "string"
17
71
},
18
72
"description": {
19
73
"description": "Organization description / about.",
20
74
"maxGraphemes": 5000,
21
75
"maxLength": 50000,
22
76
"type": "string"
23
77
},
24
78
"entityRefs": {
25
79
"description": "Canonical external entity identifiers this account represents: Wikidata Q-ID URIs (http://www.wikidata.org/entity/Q...), ROR URIs, or LEI URIs. Self-declared; downstream validation (registry match) confirms or fails each binding.",
26
80
"items": {
27
81
"format": "uri",
28
82
"type": "string"
29
83
},
30
84
"maxLength": 20,
31
85
"type": "array"
32
86
},
87
+
"founded": {
88
+
"description": "Founding date, owner-declared. A year (YYYY), month (YYYY-MM), or full date (YYYY-MM-DD). Not an ISO 8601 timestamp -- organizations typically remember only the year.",
89
+
"maxLength": 10,
90
+
"type": "string"
91
+
},
92
+
"industries": {
93
+
"description": "Industry/domain pairs the organization operates in, owner-declared. Each entry has a required industry and an optional domain refinement. Mirrors the person profile's industries field (same id.sifa.defs#industryDomain shape). Self-declared: registry-sourced industry classifications are layered separately by AppViews.",
94
+
"items": {
95
+
"ref": "id.sifa.defs#industryDomain",
96
+
"type": "ref"
97
+
},
98
+
"maxLength": 10,
99
+
"type": "array"
100
+
},
33
101
"labels": {
34
102
"description": "Self-label values for this organization profile.",
35
103
"refs": [
36
104
"com.atproto.label.defs#selfLabels"
37
105
],
38
106
"type": "union"
39
107
},
108
+
"links": {
109
+
"description": "Featured links surfaced on the org page, owner-edited. Each link's url MUST be an http(s) URL.",
110
+
"items": {
111
+
"ref": "#orgLink",
112
+
"type": "ref"
113
+
},
114
+
"maxLength": 20,
115
+
"type": "array"
116
+
},
40
117
"logo": {
41
118
"accept": [
42
119
"image/png",
43
120
"image/jpeg"
44
121
],
45
122
"description": "Organization logo image.",
46
123
"maxSize": 1000000,
47
124
"type": "blob"
48
125
},
49
126
"name": {
50
127
"description": "Organization display name.",
51
128
"maxGraphemes": 200,
52
129
"maxLength": 2000,
53
130
"minLength": 1,
54
131
"type": "string"
55
132
},
56
133
"personalProfileVisible": {
57
134
"default": false,
58
135
"description": "Whether the account holder's personal profile stays publicly visible alongside this organization profile. For sole traders and one-person businesses whose personal domain is also their trade name: the person and the organization are the same account, and both pages render. When false or absent, the account presents solely as an organization and the personal profile is not rendered.",
59
136
"type": "boolean"
60
137
},
61
138
"website": {
62
139
"description": "Official website URL.",
63
140
"format": "uri",
64
141
"type": "string"
65
142
}
66
143
},
67
144
"required": [
68
145
"name",
69
146
"createdAt"
70
147
],
71
148
"type": "object"
72
149
},
73
150
"type": "record",
74
151
"x-skos:exactMatch": [
75
152
"schema:Organization",
76
153
"org:FormalOrganization"
77
154
],
78
155
"x-skos:note": "ROR is the value anchor."
156
+
},
157
+
"orgAddress": {
158
+
"description": "A single physical location for the organization. Mirrors community.lexicon.location.address, but every field is optional (country is NOT ISO-gated at the lexicon layer); Sifa applies country handling and length caps at the app layer.",
159
+
"properties": {
160
+
"country": {
161
+
"description": "ISO 3166 country code (preferably the 2-letter code). Enforced at the app layer.",
162
+
"type": "string"
163
+
},
164
+
"locality": {
165
+
"description": "Locality of the region (for example, a city).",
166
+
"type": "string"
167
+
},
168
+
"name": {
169
+
"description": "Optional label for this location (for example, \"Head office\").",
170
+
"type": "string"
171
+
},
172
+
"postalCode": {
173
+
"description": "Postal code of the location.",
174
+
"type": "string"
175
+
},
176
+
"region": {
177
+
"description": "Administrative region of the country (for example, a state or province).",
178
+
"type": "string"
179
+
},
180
+
"street": {
181
+
"description": "Street address.",
182
+
"type": "string"
183
+
}
184
+
},
185
+
"type": "object"
186
+
},
187
+
"orgLink": {
188
+
"description": "A featured link surfaced on the org page.",
189
+
"properties": {
190
+
"name": {
191
+
"description": "Display label for the link.",
192
+
"maxGraphemes": 256,
193
+
"maxLength": 2560,
194
+
"minLength": 1,
195
+
"type": "string"
196
+
},
197
+
"url": {
198
+
"description": "Link target. MUST be an http(s) URL; other schemes are dropped at the app layer.",
199
+
"format": "uri",
200
+
"type": "string"
201
+
}
202
+
},
203
+
"required": [
204
+
"name",
205
+
"url"
206
+
],
207
+
"type": "object"
79
208
}
80
209
},
81
210
"description": "Self-declared organization profile. Lives in the organization's PDS. Presence of this record marks the account as presenting as an organization; trust is layered separately by AppViews (Sifa's rendering floor, verification labels, registry matches). Creating this record asserts that the account holder is authorized to represent this organization. The assertion carries Terms-of-Service and legal weight but no trust weight on its own. Independently evaluable by any AppView with zero Sifa dependency.",
82
211
"id": "id.sifa.org.profile",
83
212
"lexicon": 1
84
213
}