id.sifa.profile.position
Schema Diff
+68 -10
Compatibility Analysis
Breaking Changes Detected
2 breaking changes, 8 non-breaking changes.
Breaking Changes (2)
- RequiredEdgeRemoved RequiredEdgeRemoved { vertex_id: "id.sifa.profile.position:body", src: "id.sifa.profile.position:body", tgt: "id.sifa.profile.position:body.company", kind: "prop", name: Some("company") }
- ConstraintTightened ConstraintTightened { vertex_id: "id.sifa.profile.position:body.employmentType", sort: "knownValues", old_value: "[\"id.sifa.defs#fullTime\",\"id.sifa.defs#partTime\",\"id.sifa.defs#temporary\",\"id.sifa.defs#seasonal\",\"id.sifa.defs#contract\",\"id.sifa.defs#freelance\",\"id.sifa.defs#selfEmployed\",\"id.sifa.defs#independentWork\",\"id.sifa.defs#internship\",\"id.sifa.defs#apprenticeship\",\"id.sifa.defs#fellowship\",\"id.sifa.defs#trainee\",\"id.sifa.defs#volunteer\"]", new_value: "[\"id.sifa.defs#fullTime\",\"id.sifa.defs#partTime\",\"id.sifa.defs#temporary\",\"id.sifa.defs#seasonal\",\"id.sifa.defs#contract\",\"id.sifa.defs#freelance\",\"id.sifa.defs#selfEmployed\",\"id.sifa.defs#independentWork\",\"id.sifa.defs#internship\",\"id.sifa.defs#apprenticeship\",\"id.sifa.defs#fellowship\",\"id.sifa.defs#trainee\",\"id.sifa.defs#volunteer\",\"id.sifa.defs#boardMember\",\"id.sifa.defs#boardObserver\",\"id.sifa.defs#advisor\"]" }
Non-Breaking Changes (8)
- AddedVertex AddedVertex { vertex_id: "id.sifa.profile.position:body.entityRef" }
- AddedVertex AddedVertex { vertex_id: "id.sifa.profile.position:body.onBehalfOf" }
- AddedVertex AddedVertex { vertex_id: "id.sifa.profile.position:body.onBehalfOfDid" }
- AddedVertex AddedVertex { vertex_id: "id.sifa.profile.position:body.onBehalfOfEntityRef" }
- AddedEdge AddedEdge { src: "id.sifa.profile.position:body", tgt: "id.sifa.profile.position:body.entityRef", kind: "prop", name: Some("entityRef") }
- AddedEdge AddedEdge { src: "id.sifa.profile.position:body", tgt: "id.sifa.profile.position:body.onBehalfOf", kind: "prop", name: Some("onBehalfOf") }
- AddedEdge AddedEdge { src: "id.sifa.profile.position:body", tgt: "id.sifa.profile.position:body.onBehalfOfDid", kind: "prop", name: Some("onBehalfOfDid") }
- AddedEdge AddedEdge { src: "id.sifa.profile.position:body", tgt: "id.sifa.profile.position:body.onBehalfOfEntityRef", kind: "prop", name: Some("onBehalfOfEntityRef") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "id.sifa.profile.position:body.entityRef" }AddedVertex { vertex_id: "id.sifa.profile.position:body.onBehalfOf" }AddedVertex { vertex_id: "id.sifa.profile.position:body.onBehalfOfDid" }AddedVertex { vertex_id: "id.sifa.profile.position:body.onBehalfOfEntityRef" }
Constraint Changes
- ConstraintTightened ConstraintTightened { vertex_id: "id.sifa.profile.position:body.employmentType", sort: "knownValues", old_value: "[\"id.sifa.defs#fullTime\",\"id.sifa.defs#partTime\",\"id.sifa.defs#temporary\",\"id.sifa.defs#seasonal\",\"id.sifa.defs#contract\",\"id.sifa.defs#freelance\",\"id.sifa.defs#selfEmployed\",\"id.sifa.defs#independentWork\",\"id.sifa.defs#internship\",\"id.sifa.defs#apprenticeship\",\"id.sifa.defs#fellowship\",\"id.sifa.defs#trainee\",\"id.sifa.defs#volunteer\"]", new_value: "[\"id.sifa.defs#fullTime\",\"id.sifa.defs#partTime\",\"id.sifa.defs#temporary\",\"id.sifa.defs#seasonal\",\"id.sifa.defs#contract\",\"id.sifa.defs#freelance\",\"id.sifa.defs#selfEmployed\",\"id.sifa.defs#independentWork\",\"id.sifa.defs#internship\",\"id.sifa.defs#apprenticeship\",\"id.sifa.defs#fellowship\",\"id.sifa.defs#trainee\",\"id.sifa.defs#volunteer\",\"id.sifa.defs#boardMember\",\"id.sifa.defs#boardObserver\",\"id.sifa.defs#advisor\"]" }
Additional Notes
- Breaking: RequiredEdgeRemoved { vertex_id: "id.sifa.profile.position:body", src: "id.sifa.profile.position:body", tgt: "id.sifa.profile.position:body.company", kind: "prop", name: Some("company") }
- Non-breaking: AddedEdge { src: "id.sifa.profile.position:body", tgt: "id.sifa.profile.position:body.entityRef", kind: "prop", name: Some("entityRef") }
- Non-breaking: AddedEdge { src: "id.sifa.profile.position:body", tgt: "id.sifa.profile.position:body.onBehalfOf", kind: "prop", name: Some("onBehalfOf") }
- Non-breaking: AddedEdge { src: "id.sifa.profile.position:body", tgt: "id.sifa.profile.position:body.onBehalfOfDid", kind: "prop", name: Some("onBehalfOfDid") }
- Non-breaking: AddedEdge { src: "id.sifa.profile.position:body", tgt: "id.sifa.profile.position:body.onBehalfOfEntityRef", kind: "prop", name: Some("onBehalfOfEntityRef") }
1
1
{
2
2
"id": "id.sifa.profile.position",
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
-
"company",
11
10
"title",
12
11
"startedAt",
13
12
"createdAt"
14
13
],
15
14
"properties": {
16
15
"title": {
17
16
"type": "string",
18
17
"maxLength": 2560,
19
18
"minLength": 1,
20
19
"description": "Job title or role name.",
21
-
"maxGraphemes": 256
20
+
"maxGraphemes": 256,
21
+
"x-skos:exactMatch": [
22
+
"org:role",
23
+
"schema:roleName"
24
+
]
22
25
},
23
26
"labels": {
24
27
"refs": [
25
28
"com.atproto.label.defs#selfLabels"
26
29
],
27
30
"type": "union",
28
31
"description": "Self-label values for this position record."
29
32
},
30
33
"skills": {
31
34
"type": "array",
32
35
"items": {
33
36
"ref": "id.sifa.defs#skillRef",
34
37
"type": "ref"
35
38
},
36
39
"maxLength": 50,
37
40
"description": "Skills used in this position. Each entry is a URI reference to an id.sifa.profile.skill record owned by the same DID."
38
41
},
39
42
"company": {
40
43
"type": "string",
41
44
"maxLength": 2560,
42
45
"minLength": 1,
43
-
"description": "Company or organization name.",
44
-
"maxGraphemes": 256
46
+
"description": "Company or organization name. Optional: omit for self-employed, freelance, contract, or independent work that has no separately named or registered entity.",
47
+
"maxGraphemes": 256,
48
+
"x-skos:exactMatch": [
49
+
"org:organization",
50
+
"schema:worksFor"
51
+
]
45
52
},
46
53
"endedAt": {
47
54
"type": "string",
48
-
"description": "End date of the position in YYYY-MM or YYYY-MM-DD format. Omit if this is a current position."
55
+
"description": "End date of the position in YYYY-MM or YYYY-MM-DD format. Omit if this is a current position.",
56
+
"x-skos:exactMatch": [
57
+
"schema:endDate"
58
+
]
49
59
},
50
60
"location": {
51
61
"ref": "community.lexicon.location.address",
52
62
"type": "ref",
53
-
"description": "Work location. Sifa enforces ISO 3166-1 alpha-2 country codes at the app layer."
63
+
"description": "Work location. Sifa enforces ISO 3166-1 alpha-2 country codes at the app layer.",
64
+
"x-skos:exactMatch": [
65
+
"schema:jobLocation"
66
+
]
54
67
},
55
68
"createdAt": {
56
69
"type": "string",
57
70
"format": "datetime",
58
71
"description": "Client-declared timestamp when this record was originally created."
59
72
},
73
+
"entityRef": {
74
+
"type": "string",
75
+
"format": "uri",
76
+
"description": "Portable, app-neutral identifier for the organization the user selected from a resolver dropdown: a Wikidata Q-ID URI (http://www.wikidata.org/entity/Q...), a ROR URI, or an LEI URI. Enables deterministic resolution to a canonical entity even before the org claims an ATproto account. Absent for free-text or independent/self-employed positions.",
77
+
"x-skos:closeMatch": [
78
+
"schema:sameAs"
79
+
]
80
+
},
60
81
"isPrimary": {
61
82
"type": "boolean",
62
83
"description": "Whether this is the user's primary current position, displayed on the identity card."
63
84
},
64
85
"startedAt": {
65
86
"type": "string",
66
-
"description": "Start date of the position in YYYY-MM or YYYY-MM-DD format."
87
+
"description": "Start date of the position in YYYY-MM or YYYY-MM-DD format.",
88
+
"x-skos:exactMatch": [
89
+
"schema:startDate"
90
+
]
67
91
},
68
92
"companyDid": {
69
93
"type": "string",
70
94
"format": "did",
71
95
"description": "DID of the company's ATproto account, if one exists. Enables verified company linking."
72
96
},
97
+
"onBehalfOf": {
98
+
"type": "string",
99
+
"maxLength": 2560,
100
+
"description": "Name of the party this role is held on behalf of, when the person represents someone else — most often a fund whose board seat this is. A disclosure, not a role type. Omit for independent seats.",
101
+
"maxGraphemes": 256
102
+
},
73
103
"description": {
74
104
"type": "string",
75
105
"maxLength": 50000,
76
106
"description": "Description of responsibilities, achievements, and duties.",
77
-
"maxGraphemes": 5000
107
+
"maxGraphemes": 5000,
108
+
"x-skos:exactMatch": [
109
+
"dcterms:description"
110
+
]
111
+
},
112
+
"onBehalfOfDid": {
113
+
"type": "string",
114
+
"format": "did",
115
+
"description": "DID of the represented party's ATproto account, if one exists. May resolve to an organization or to a person (e.g. a family-office principal)."
78
116
},
79
117
"workplaceType": {
80
118
"type": "string",
81
119
"description": "Workplace arrangement (on-site, remote, hybrid).",
82
120
"knownValues": [
83
121
"id.sifa.defs#onSite",
84
122
"id.sifa.defs#remote",
85
123
"id.sifa.defs#hybrid"
124
+
],
125
+
"x-skos:note": "schema.org models only a remote flag; Sifa distinguishes onSite, remote, and hybrid.",
126
+
"x-skos:narrowMatch": [
127
+
"schema:jobLocationType"
86
128
]
87
129
},
88
130
"employmentType": {
89
131
"type": "string",
90
132
"description": "Type of employment (full-time, part-time, contract, etc.).",
91
133
"knownValues": [
92
134
"id.sifa.defs#fullTime",
93
135
"id.sifa.defs#partTime",
94
136
"id.sifa.defs#temporary",
95
137
"id.sifa.defs#seasonal",
96
138
"id.sifa.defs#contract",
97
139
"id.sifa.defs#freelance",
98
140
"id.sifa.defs#selfEmployed",
99
141
"id.sifa.defs#independentWork",
100
142
"id.sifa.defs#internship",
101
143
"id.sifa.defs#apprenticeship",
102
144
"id.sifa.defs#fellowship",
103
145
"id.sifa.defs#trainee",
104
-
"id.sifa.defs#volunteer"
146
+
"id.sifa.defs#volunteer",
147
+
"id.sifa.defs#boardMember",
148
+
"id.sifa.defs#boardObserver",
149
+
"id.sifa.defs#advisor"
150
+
],
151
+
"x-skos:note": "schema:employmentType is free text. ESCO is the better value anchor.",
152
+
"x-skos:closeMatch": [
153
+
"schema:employmentType"
105
154
]
155
+
},
156
+
"onBehalfOfEntityRef": {
157
+
"type": "string",
158
+
"format": "uri",
159
+
"description": "Portable, app-neutral identifier for the represented party selected from a resolver dropdown: a Wikidata Q-ID URI, a ROR URI, or an LEI URI. Absent for free-text entries."
106
160
}
107
161
}
108
162
},
109
-
"description": "Record representing a single work position or role."
163
+
"description": "Record representing a single work position or role.",
164
+
"x-skos:closeMatch": [
165
+
"org:Membership",
166
+
"schema:OrganizationRole"
167
+
]
110
168
}
111
169
},
112
170
"$type": "com.atproto.lexicon.schema",
113
171
"lexicon": 1,
114
172
"description": "A work experience entry in the user's professional profile."
115
173
}