> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hellocobi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Course Model

> The course data model represents information about educational courses in the Cobi system.

## Schema

```json theme={null}
{
  "type": "object",
  "required": ["course_id", "name"],
  "properties": {
    "course_id": {
      "type": "string",
      "format": "uuid",
      "description": "Unique identifier for the course"
    },
    "name": {
      "type": "string",
      "description": "Name of the course"
    },
    "created": {
      "type": "string",
      "format": "date-time",
      "nullable": true,
      "description": "Timestamp when the record was created"
    },
    "updated": {
      "type": "string",
      "format": "date-time",
      "nullable": true,
      "description": "Timestamp when the record was last updated"
    },
    "is_deleted": {
      "type": "boolean",
      "nullable": true,
      "description": "Flag indicating if the record is marked as deleted"
    }
  }
}
```

## Field Descriptions

### Required Fields

| Field       | Type   | Format | Description                      |
| ----------- | ------ | ------ | -------------------------------- |
| `course_id` | string | UUID   | Unique identifier for the course |
| `name`      | string | -      | Name of the course               |

### Optional Fields

| Field        | Type    | Format    | Description                                        |
| ------------ | ------- | --------- | -------------------------------------------------- |
| `created`    | string  | date-time | Timestamp when the record was created              |
| `updated`    | string  | date-time | Timestamp when the record was last updated         |
| `is_deleted` | boolean | -         | Flag indicating if the record is marked as deleted |

## Example

```json theme={null}
{
  "course_id": "550e8400-e29b-41d4-a716-446655440000",
  "name": "Introduction to Computer Science",
  "created": "2023-01-15T14:30:00Z",
  "updated": "2023-06-22T09:15:30Z",
  "is_deleted": false
}
```

## Best Practices

1. **UUID Format**: Use valid UUID v4 format for course\_id
2. **Data Consistency**: Ensure consistent data across all course records
3. **Naming**: Use the official course name as it appears in the institution's catalog
4. **Soft Deletion**: Use the is\_deleted flag instead of permanently removing records

Need help? Contact our support team at [support@hellocobi.com](mailto:support@hellocobi.com)
