{
"id": "id.sifa.org.employmentAttestation",
"defs": {
"main": {
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"subject",
"position",
"status",
"title",
"startedAt",
"createdAt"
],
"properties": {
"title": {
"type": "string",
"maxLength": 2560,
"minLength": 1,
"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).",
"maxGraphemes": 256
},
"labels": {
"refs": [
"com.atproto.label.defs#selfLabels"
],
"type": "union",
"description": "Self-label values for this attestation record."
},
"status": {
"type": "string",
"description": "Whether the employment is current or past. Accepted values: 'current' or 'past'."
},
"comment": {
"type": "string",
"maxLength": 3000,
"description": "Optional brief comment from the organization.",
"maxGraphemes": 300
},
"endedAt": {
"type": "string",
"description": "End date in YYYY-MM or YYYY-MM-DD format. Required context when status is 'past'."
},
"subject": {
"type": "string",
"format": "did",
"description": "DID of the employee whose employment is being attested."
},
"position": {
"ref": "com.atproto.repo.strongRef",
"type": "ref",
"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."
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "Client-declared timestamp when this attestation was created."
},
"entityRef": {
"type": "string",
"format": "uri",
"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."
},
"startedAt": {
"type": "string",
"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."
},
"companyDid": {
"type": "string",
"format": "did",
"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."
}
}
},
"description": "Record representing an organization's attestation of a person's employment."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1,
"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."
}