id.sifa.profile.position

sifa.id

Schema Diff

+52 -12

From

CID
bafyreid2v5v7vdn...
Indexed At
2026-08-06 12:37 UTC
View this version

To

CID
bafyreiayjjm3mr5...
Indexed At
2026-09-29 09:12 UTC
View this version

Compatibility Analysis

Backward Compatible

Backward compatible. 4 non-breaking changes.

Non-Breaking Changes (4)
  • AddedVertex AddedVertex { vertex_id: "id.sifa.defs#agentRef" }
  • AddedVertex AddedVertex { vertex_id: "id.sifa.profile.position:body.agentRef" }
  • AddedEdge AddedEdge { src: "id.sifa.profile.position:body", tgt: "id.sifa.profile.position:body.agentRef", kind: "prop", name: Some("agentRef") }
  • AddedEdge AddedEdge { src: "id.sifa.profile.position:body.agentRef", tgt: "id.sifa.defs#agentRef", kind: "ref", name: None }

Migration Guidance

Added Elements

  • AddedVertex { vertex_id: "id.sifa.defs#agentRef" }
  • AddedVertex { vertex_id: "id.sifa.profile.position:body.agentRef" }

Additional Notes

  • Non-breaking: AddedEdge { src: "id.sifa.profile.position:body", tgt: "id.sifa.profile.position:body.agentRef", kind: "prop", name: Some("agentRef") }
  • Non-breaking: AddedEdge { src: "id.sifa.profile.position:body.agentRef", tgt: "id.sifa.defs#agentRef", kind: "ref", name: None }
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 +
          "agentRef": {
10 +
            "description": "The employer, as a single nested reference mirroring the flat company / companyDid / entityRef fields. Additive dual-write: the flat fields remain the source of truth for existing consumers.",
11 +
            "ref": "id.sifa.defs#agentRef",
12 +
            "type": "ref"
13 +
          },
9 14
          "company": {
10 -
            "description": "Company or organization name. Optional: omit for self-employed, freelance, contract, or independent work that has no separately named or registered entity.",
15 +
            "description": "Organization name. Optional: omit for self-employed, freelance, contract, or independent work that has no separately named or registered entity.",
11 16
            "maxGraphemes": 256,
12 17
            "maxLength": 2560,
13 18
            "minLength": 1,
14 -
            "type": "string"
19 +
            "type": "string",
20 +
            "x-skos:exactMatch": [
21 +
              "org:organization",
22 +
              "schema:worksFor"
23 +
            ]
15 24
          },
16 25
          "companyDid": {
17 -
            "description": "DID of the company's ATproto account, if one exists. Enables verified company linking.",
26 +
            "description": "DID of the organization's ATproto account, if one exists. Enables verified organization linking.",
18 27
            "format": "did",
19 28
            "type": "string"
20 29
          },
21 30
          "createdAt": {
22 31
            "description": "Client-declared timestamp when this record was originally created.",
23 32
            "format": "datetime",
24 33
            "type": "string"
25 34
          },
26 35
          "description": {
27 36
            "description": "Description of responsibilities, achievements, and duties.",
28 37
            "maxGraphemes": 5000,
29 38
            "maxLength": 50000,
30 -
            "type": "string"
39 +
            "type": "string",
40 +
            "x-skos:exactMatch": [
41 +
              "dcterms:description"
42 +
            ]
31 43
          },
32 44
          "employmentType": {
33 45
            "description": "Type of employment (full-time, part-time, contract, etc.).",
34 46
            "knownValues": [
35 47
              "id.sifa.defs#fullTime",
36 48
              "id.sifa.defs#partTime",
37 49
              "id.sifa.defs#temporary",
38 50
              "id.sifa.defs#seasonal",
39 51
              "id.sifa.defs#contract",
40 52
              "id.sifa.defs#freelance",
41 53
              "id.sifa.defs#selfEmployed",
42 54
              "id.sifa.defs#independentWork",
43 55
              "id.sifa.defs#internship",
44 56
              "id.sifa.defs#apprenticeship",
45 57
              "id.sifa.defs#fellowship",
46 58
              "id.sifa.defs#trainee",
47 59
              "id.sifa.defs#volunteer",
48 60
              "id.sifa.defs#boardMember",
49 61
              "id.sifa.defs#boardObserver",
50 62
              "id.sifa.defs#advisor"
51 63
            ],
52 -
            "type": "string"
64 +
            "type": "string",
65 +
            "x-skos:closeMatch": [
66 +
              "schema:employmentType"
67 +
            ],
68 +
            "x-skos:note": "schema:employmentType is free text. ESCO is the better value anchor."
53 69
          },
54 70
          "endedAt": {
55 71
            "description": "End date of the position in YYYY-MM or YYYY-MM-DD format. Omit if this is a current position.",
56 -
            "type": "string"
72 +
            "type": "string",
73 +
            "x-skos:exactMatch": [
74 +
              "schema:endDate"
75 +
            ]
57 76
          },
58 77
          "entityRef": {
59 78
            "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.",
60 79
            "format": "uri",
61 -
            "type": "string"
80 +
            "type": "string",
81 +
            "x-skos:closeMatch": [
82 +
              "schema:sameAs"
83 +
            ]
62 84
          },
63 85
          "isPrimary": {
64 86
            "description": "Whether this is the user's primary current position, displayed on the identity card.",
65 87
            "type": "boolean"
66 88
          },
67 89
          "labels": {
68 90
            "description": "Self-label values for this position record.",
69 91
            "refs": [
70 92
              "com.atproto.label.defs#selfLabels"
71 93
            ],
72 94
            "type": "union"
73 95
          },
74 96
          "location": {
75 97
            "description": "Work location. Sifa enforces ISO 3166-1 alpha-2 country codes at the app layer.",
76 98
            "ref": "community.lexicon.location.address",
77 -
            "type": "ref"
99 +
            "type": "ref",
100 +
            "x-skos:exactMatch": [
101 +
              "schema:jobLocation"
102 +
            ]
78 103
          },
79 104
          "onBehalfOf": {
80 105
            "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.",
81 106
            "maxGraphemes": 256,
82 107
            "maxLength": 2560,
83 108
            "type": "string"
84 109
          },
85 110
          "onBehalfOfDid": {
86 111
            "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).",
87 112
            "format": "did",
88 113
            "type": "string"
89 114
          },
90 115
          "onBehalfOfEntityRef": {
91 116
            "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.",
92 117
            "format": "uri",
93 118
            "type": "string"
94 119
          },
95 120
          "skills": {
96 121
            "description": "Skills used in this position. Each entry is a URI reference to an id.sifa.profile.skill record owned by the same DID.",
97 122
            "items": {
98 123
              "ref": "id.sifa.defs#skillRef",
99 124
              "type": "ref"
100 125
            },
101 126
            "maxLength": 50,
102 127
            "type": "array"
103 128
          },
104 129
          "startedAt": {
105 130
            "description": "Start date of the position in YYYY-MM or YYYY-MM-DD format.",
106 -
            "type": "string"
131 +
            "type": "string",
132 +
            "x-skos:exactMatch": [
133 +
              "schema:startDate"
134 +
            ]
107 135
          },
108 136
          "title": {
109 137
            "description": "Job title or role name.",
110 138
            "maxGraphemes": 256,
111 139
            "maxLength": 2560,
112 140
            "minLength": 1,
113 -
            "type": "string"
141 +
            "type": "string",
142 +
            "x-skos:exactMatch": [
143 +
              "org:role",
144 +
              "schema:roleName"
145 +
            ]
114 146
          },
115 147
          "workplaceType": {
116 148
            "description": "Workplace arrangement (on-site, remote, hybrid).",
117 149
            "knownValues": [
118 150
              "id.sifa.defs#onSite",
119 151
              "id.sifa.defs#remote",
120 152
              "id.sifa.defs#hybrid"
121 153
            ],
122 -
            "type": "string"
154 +
            "type": "string",
155 +
            "x-skos:narrowMatch": [
156 +
              "schema:jobLocationType"
157 +
            ],
158 +
            "x-skos:note": "schema.org models only a remote flag; Sifa distinguishes onSite, remote, and hybrid."
123 159
          }
124 160
        },
125 161
        "required": [
126 162
          "title",
127 163
          "startedAt",
128 164
          "createdAt"
129 165
        ],
130 166
        "type": "object"
131 167
      },
132 -
      "type": "record"
168 +
      "type": "record",
169 +
      "x-skos:closeMatch": [
170 +
        "org:Membership",
171 +
        "schema:OrganizationRole"
172 +
      ]
133 173
    }
134 174
  },
135 175
  "description": "A work experience entry in the user's professional profile.",
136 176
  "id": "id.sifa.profile.position",
137 177
  "lexicon": 1
138 178
}

Compare Other Versions

Lexicon Garden

@