# id.sifa.profile.course

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

✓ This is the authoritative definition for this NSID.

## Description

A course completed by the user.

## Links

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

## Definitions

### `id.sifa.profile.course`

**Type**: `record`

Record representing a single completed course.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `name` | `string` | Yes | Course name. |
| `number` | `string` | No | Course number or code (e.g., 'CS101'). |
| `createdAt` | `string` (datetime) | Yes | Client-declared timestamp when this record was originally created. |
| `education` | `ref` → `com.atproto.repo.strongRef` | No | Reference to the associated id.sifa.profile.education record, if applicable. |
| `institution` | `string` | No | Institution or platform offering the course. |

## Raw Schema

```json
{
  "id": "id.sifa.profile.course",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "name",
          "createdAt"
        ],
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 2000,
            "minLength": 1,
            "description": "Course name.",
            "maxGraphemes": 200
          },
          "number": {
            "type": "string",
            "maxLength": 500,
            "description": "Course number or code (e.g., 'CS101').",
            "maxGraphemes": 50
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "Client-declared timestamp when this record was originally created."
          },
          "education": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref",
            "description": "Reference to the associated id.sifa.profile.education record, if applicable."
          },
          "institution": {
            "type": "string",
            "maxLength": 1000,
            "description": "Institution or platform offering the course.",
            "maxGraphemes": 100
          }
        }
      },
      "description": "Record representing a single completed course."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "description": "A course completed by the user."
}
```
