Resource
← Back to SchemaA general component that all open educational resources are based from.
Class Details
Properties
Properties for Resource and its parent classes.
| Property | Expected Type | Description |
|---|---|---|
| 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/ResourceAvailable formats:
Example usage:
curl -H "Accept: application/json" /api/schema/class/ResourceExamples
Implementation Examples
Below are examples of how to implement the Resource class in different formats.
{
"@context": {
"oer": "http://oerschema.org/",
"schema": "http://schema.org/"
},
"@type": "oer:Resource",
"oer:parentOf": "Sample value",
"oer:childOf": "Sample value",
"oer:forCourse": "Sample value"
}