# id.sifa.profile.certification

> Published by [sifa.id](https://lexicon.garden/identity/did:plc:2f2ahswozqy4v5lvu676375y)

✓ This is the authoritative definition for this NSID.

## Description

A professional certification or license held by the user.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:2f2ahswozqy4v5lvu676375y/id.sifa.profile.certification)
- [Documentation](https://lexicon.garden/lexicon/did:plc:2f2ahswozqy4v5lvu676375y/id.sifa.profile.certification/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:2f2ahswozqy4v5lvu676375y/id.sifa.profile.certification/examples)

## Definitions

### `id.sifa.profile.certification`

**Type**: `record`

Record representing a single certification or license.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `name` | `string` | Yes | Certification or license name. |
| `labels` | `union` | No | Self-label values for this certification record. |
| `issuedAt` | `string` (datetime) | No | Date the certification was issued. |
| `authority` | `string` | No | Issuing organization or authority. |
| `createdAt` | `string` (datetime) | Yes | Client-declared timestamp when this record was originally created. |
| `expiresAt` | `string` (datetime) | No | Expiry date. Omit if the certification does not expire. |
| `authorityDid` | `string` (did) | No | DID of the issuing authority's ATproto account, if one exists. |
| `credentialId` | `string` | No | Credential ID or license number. |
| `credentialUrl` | `string` (uri) | No | URL to verify the credential. |

## Raw Schema

```json
{
  "id": "id.sifa.profile.certification",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "name",
          "createdAt"
        ],
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 1000,
            "minLength": 1,
            "description": "Certification or license name.",
            "maxGraphemes": 100
          },
          "labels": {
            "refs": [
              "com.atproto.label.defs#selfLabels"
            ],
            "type": "union",
            "description": "Self-label values for this certification record."
          },
          "issuedAt": {
            "type": "string",
            "format": "datetime",
            "description": "Date the certification was issued."
          },
          "authority": {
            "type": "string",
            "maxLength": 1000,
            "description": "Issuing organization or authority.",
            "maxGraphemes": 100
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "Client-declared timestamp when this record was originally created."
          },
          "expiresAt": {
            "type": "string",
            "format": "datetime",
            "description": "Expiry date. Omit if the certification does not expire."
          },
          "authorityDid": {
            "type": "string",
            "format": "did",
            "description": "DID of the issuing authority's ATproto account, if one exists."
          },
          "credentialId": {
            "type": "string",
            "maxLength": 1000,
            "description": "Credential ID or license number.",
            "maxGraphemes": 100
          },
          "credentialUrl": {
            "type": "string",
            "format": "uri",
            "description": "URL to verify the credential."
          }
        }
      },
      "description": "Record representing a single certification or license."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "description": "A professional certification or license held by the user."
}
```
