id.sifa.org.employmentAttestation

sifa.id

Schema Diff

+1 -1

From

CID
bafyreigqixjvidj...
Indexed At
2026-07-16 17:14 UTC
View this version

To

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

Compatibility Analysis

Backward Compatible

No changes detected.

1 1
{
2 2
  "$type": "com.atproto.lexicon.schema",
3 3
  "defs": {
4 4
    "main": {
5 5
      "description": "Record representing an organization's attestation of a person's employment.",
6 6
      "key": "tid",
7 7
      "record": {
8 8
        "properties": {
9 9
          "comment": {
10 10
            "description": "Optional brief comment from the organization.",
11 11
            "maxGraphemes": 300,
12 12
            "maxLength": 3000,
13 13
            "type": "string"
14 14
          },
15 15
          "companyDid": {
16 -
            "description": "DID of the company's ATproto account snapshot from the position record. Pin this when the position carried a companyDid but no entityRef. Part of the identity triple.",
16 +
            "description": "DID of the organization's ATproto account snapshot from the position record. Pin this when the position carried a companyDid but no entityRef. Part of the identity triple.",
17 17
            "format": "did",
18 18
            "type": "string"
19 19
          },
20 20
          "createdAt": {
21 21
            "description": "Client-declared timestamp when this attestation was created.",
22 22
            "format": "datetime",
23 23
            "type": "string"
24 24
          },
25 25
          "endedAt": {
26 26
            "description": "End date in YYYY-MM or YYYY-MM-DD format. Required context when status is 'past'.",
27 27
            "type": "string"
28 28
          },
29 29
          "entityRef": {
30 30
            "description": "Portable entity identifier snapshot (Wikidata Q-ID URI, ROR URI, or LEI URI) from the position record. Pin this when the position carried an entityRef. Part of the identity triple. Never pin the free-text company name.",
31 31
            "format": "uri",
32 32
            "type": "string"
33 33
          },
34 34
          "labels": {
35 35
            "description": "Self-label values for this attestation record.",
36 36
            "refs": [
37 37
              "com.atproto.label.defs#selfLabels"
38 38
            ],
39 39
            "type": "union"
40 40
          },
41 41
          "position": {
42 42
            "description": "StrongRef to the id.sifa.profile.position record being attested. The AT-URI identifies the position, and the CID pins the version for provenance.",
43 43
            "ref": "com.atproto.repo.strongRef",
44 44
            "type": "ref"
45 45
          },
46 46
          "startedAt": {
47 47
            "description": "Start date snapshot in YYYY-MM or YYYY-MM-DD format, mirroring the position lexicon's freeform date shape. Part of the identity triple.",
48 48
            "type": "string"
49 49
          },
50 50
          "status": {
51 51
            "description": "Whether the employment is current or past. Accepted values: 'current' or 'past'.",
52 52
            "type": "string"
53 53
          },
54 54
          "subject": {
55 55
            "description": "DID of the employee whose employment is being attested.",
56 56
            "format": "did",
57 57
            "type": "string"
58 58
          },
59 59
          "title": {
60 60
            "description": "Job title snapshot from the position record at attestation time. Part of the identity triple: if the position's title later changes, this attestation is voided (the role identity changed).",
61 61
            "maxGraphemes": 256,
62 62
            "maxLength": 2560,
63 63
            "minLength": 1,
64 64
            "type": "string"
65 65
          }
66 66
        },
67 67
        "required": [
68 68
          "subject",
69 69
          "position",
70 70
          "status",
71 71
          "title",
72 72
          "startedAt",
73 73
          "createdAt"
74 74
        ],
75 75
        "type": "object"
76 76
      },
77 77
      "type": "record"
78 78
    }
79 79
  },
80 80
  "description": "An organization's attestation that a person is or was employed in a specific position. Lives in the organization's PDS; the organization is implicit (whoever owns the repository). The org asserts this person held the described role. The position identity is pinned via a snapshot triple (title, startedAt, and the entity identifier) so editing the pinned identity fields on the referenced position record voids this attestation. Never pins the free-text company name, which can change in a rebrand without invalidating the attestation.",
81 81
  "id": "id.sifa.org.employmentAttestation",
82 82
  "lexicon": 1
83 83
}

Compare Other Versions

Lexicon Garden

@