Topic
← Back to SchemaThe context of a LearningComponent
Class Details
Parent Classes
Properties
Properties for Topic and its parent classes.
| Property | Expected Type | Description |
|---|---|---|
| Properties of Topic | ||
| material | SupportingMaterial | The supporting material assiociated with a resource. |
| Properties of Resource | ||
| parentOf | Resource | A parent in relation to a child resource. |
| childOf | Resource | A child in relation to a parent resource. |
| forCourse | Course | The Course in which the resource is meant for. |
| mainContent | Text | The main content relating to the item. |
| forTopic | Topic | The Topic the resource is associated with |
API Access
Access this class through the API
Endpoint:
/api/schema/class/TopicAvailable formats:
Example usage:
curl -H "Accept: application/json" /api/schema/class/TopicExamples
Implementation Examples
Below are examples of how to implement the Topic class in different formats.
{
"@context": {
"oer": "http://oerschema.org/",
"schema": "http://schema.org/"
},
"@type": "oer:Topic",
"oer:material": "Sample value"
}