id.sifa.profile.position
Schema Diff
+5 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 2 non-breaking changes.
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "id.sifa.profile.position:body.entityRef" }
- AddedEdge AddedEdge { src: "id.sifa.profile.position:body", tgt: "id.sifa.profile.position:body.entityRef", kind: "prop", name: Some("entityRef") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "id.sifa.profile.position:body.entityRef" }
Additional Notes
- Non-breaking: AddedEdge { src: "id.sifa.profile.position:body", tgt: "id.sifa.profile.position:body.entityRef", kind: "prop", name: Some("entityRef") }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "Record representing a single work position or role.",
6
6
"key": "tid",
7
7
"record": {
8
8
"properties": {
9
9
"company": {
10
10
"description": "Company or organization name. Optional: omit for self-employed, freelance, contract, or independent work that has no separately named or registered entity.",
11
11
"maxGraphemes": 256,
12
12
"maxLength": 2560,
13
13
"minLength": 1,
14
14
"type": "string"
15
15
},
16
16
"companyDid": {
17
17
"description": "DID of the company's ATproto account, if one exists. Enables verified company linking.",
18
18
"format": "did",
19
19
"type": "string"
20
20
},
21
21
"createdAt": {
22
22
"description": "Client-declared timestamp when this record was originally created.",
23
23
"format": "datetime",
24
24
"type": "string"
25
25
},
26
26
"description": {
27
27
"description": "Description of responsibilities, achievements, and duties.",
28
28
"maxGraphemes": 5000,
29
29
"maxLength": 50000,
30
30
"type": "string"
31
31
},
32
32
"employmentType": {
33
33
"description": "Type of employment (full-time, part-time, contract, etc.).",
34
34
"knownValues": [
35
35
"id.sifa.defs#fullTime",
36
36
"id.sifa.defs#partTime",
37
37
"id.sifa.defs#temporary",
38
38
"id.sifa.defs#seasonal",
39
39
"id.sifa.defs#contract",
40
40
"id.sifa.defs#freelance",
41
41
"id.sifa.defs#selfEmployed",
42
42
"id.sifa.defs#independentWork",
43
43
"id.sifa.defs#internship",
44
44
"id.sifa.defs#apprenticeship",
45
45
"id.sifa.defs#fellowship",
46
46
"id.sifa.defs#trainee",
47
47
"id.sifa.defs#volunteer"
48
48
],
49
49
"type": "string"
50
50
},
51
51
"endedAt": {
52
52
"description": "End date of the position in YYYY-MM or YYYY-MM-DD format. Omit if this is a current position.",
53
53
"type": "string"
54
54
},
55
+
"entityRef": {
56
+
"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.",
57
+
"format": "uri",
58
+
"type": "string"
59
+
},
55
60
"isPrimary": {
56
61
"description": "Whether this is the user's primary current position, displayed on the identity card.",
57
62
"type": "boolean"
58
63
},
59
64
"labels": {
60
65
"description": "Self-label values for this position record.",
61
66
"refs": [
62
67
"com.atproto.label.defs#selfLabels"
63
68
],
64
69
"type": "union"
65
70
},
66
71
"location": {
67
72
"description": "Work location. Sifa enforces ISO 3166-1 alpha-2 country codes at the app layer.",
68
73
"ref": "community.lexicon.location.address",
69
74
"type": "ref"
70
75
},
71
76
"skills": {
72
77
"description": "Skills used in this position. Each entry is a URI reference to an id.sifa.profile.skill record owned by the same DID.",
73
78
"items": {
74
79
"ref": "id.sifa.defs#skillRef",
75
80
"type": "ref"
76
81
},
77
82
"maxLength": 50,
78
83
"type": "array"
79
84
},
80
85
"startedAt": {
81
86
"description": "Start date of the position in YYYY-MM or YYYY-MM-DD format.",
82
87
"type": "string"
83
88
},
84
89
"title": {
85
90
"description": "Job title or role name.",
86
91
"maxGraphemes": 256,
87
92
"maxLength": 2560,
88
93
"minLength": 1,
89
94
"type": "string"
90
95
},
91
96
"workplaceType": {
92
97
"description": "Workplace arrangement (on-site, remote, hybrid).",
93
98
"knownValues": [
94
99
"id.sifa.defs#onSite",
95
100
"id.sifa.defs#remote",
96
101
"id.sifa.defs#hybrid"
97
102
],
98
103
"type": "string"
99
104
}
100
105
},
101
106
"required": [
102
107
"title",
103
108
"startedAt",
104
109
"createdAt"
105
110
],
106
111
"type": "object"
107
112
},
108
113
"type": "record"
109
114
}
110
115
},
111
116
"description": "A work experience entry in the user's professional profile.",
112
117
"id": "id.sifa.profile.position",
113
118
"lexicon": 1
114
119
}