id.sifa.profile.certification

sifa.id

Schema Diff

+5 -0

From

CID
bafyreidxkhbd5hd...
Indexed At
2026-08-06 14:52 UTC
View this version

To

CID
bafyreihgb6j3qsj...
Indexed At
2026-09-05 18:31 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.certification:body.agentRef" }
  • AddedEdge AddedEdge { src: "id.sifa.profile.certification:body", tgt: "id.sifa.profile.certification:body.agentRef", kind: "prop", name: Some("agentRef") }
  • AddedEdge AddedEdge { src: "id.sifa.profile.certification: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.certification:body.agentRef" }

Additional Notes

  • Non-breaking: AddedEdge { src: "id.sifa.profile.certification:body", tgt: "id.sifa.profile.certification:body.agentRef", kind: "prop", name: Some("agentRef") }
  • Non-breaking: AddedEdge { src: "id.sifa.profile.certification: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 certification or license.",
6 6
      "key": "tid",
7 7
      "record": {
8 8
        "properties": {
9 +
          "agentRef": {
10 +
            "description": "The issuing authority, as a single nested reference mirroring the flat authority / authorityDid / 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
          "authority": {
10 15
            "description": "Issuing organization or authority.",
11 16
            "maxGraphemes": 256,
12 17
            "maxLength": 2560,
13 18
            "type": "string"
14 19
          },
15 20
          "authorityDid": {
16 21
            "description": "DID of the issuing authority's ATproto account, if one exists.",
17 22
            "format": "did",
18 23
            "type": "string"
19 24
          },
20 25
          "createdAt": {
21 26
            "description": "Client-declared timestamp when this record was originally created.",
22 27
            "format": "datetime",
23 28
            "type": "string"
24 29
          },
25 30
          "credentialId": {
26 31
            "description": "Credential ID or license number.",
27 32
            "maxGraphemes": 256,
28 33
            "maxLength": 2560,
29 34
            "type": "string"
30 35
          },
31 36
          "credentialUrl": {
32 37
            "description": "URL to verify the credential.",
33 38
            "format": "uri",
34 39
            "type": "string",
35 40
            "x-skos:exactMatch": [
36 41
              "schema:url"
37 42
            ]
38 43
          },
39 44
          "entityRef": {
40 45
            "description": "Portable, app-neutral identifier for the issuing 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 organization claims an ATproto account. Absent for free-text entries.",
41 46
            "format": "uri",
42 47
            "type": "string"
43 48
          },
44 49
          "expiresAt": {
45 50
            "description": "Expiry date in YYYY-MM or YYYY-MM-DD format. Omit if the certification does not expire.",
46 51
            "type": "string",
47 52
            "x-skos:exactMatch": [
48 53
              "schema:validUntil"
49 54
            ]
50 55
          },
51 56
          "issuedAt": {
52 57
            "description": "Date the certification was issued, in YYYY-MM or YYYY-MM-DD format.",
53 58
            "type": "string"
54 59
          },
55 60
          "labels": {
56 61
            "description": "Self-label values for this certification record.",
57 62
            "refs": [
58 63
              "com.atproto.label.defs#selfLabels"
59 64
            ],
60 65
            "type": "union"
61 66
          },
62 67
          "name": {
63 68
            "description": "Certification or license name.",
64 69
            "maxGraphemes": 256,
65 70
            "maxLength": 2560,
66 71
            "minLength": 1,
67 72
            "type": "string"
68 73
          }
69 74
        },
70 75
        "required": [
71 76
          "name",
72 77
          "createdAt"
73 78
        ],
74 79
        "type": "object"
75 80
      },
76 81
      "type": "record",
77 82
      "x-skos:exactMatch": [
78 83
        "schema:EducationalOccupationalCredential"
79 84
      ]
80 85
    }
81 86
  },
82 87
  "description": "A professional certification or license held by the user.",
83 88
  "id": "id.sifa.profile.certification",
84 89
  "lexicon": 1
85 90
}

Compare Other Versions

Lexicon Garden

@