server.make_education_resource

Attributes

json_path

Classes

EducationResource

The metadata for an education resource to be communicated in the Exchange. This

Functions

oercommonts_to_metadata_card(→ EducationResource)

Convert an OERCommonsModel item to an EducationResource.

Module Contents

class server.make_education_resource.EducationResource(/, **data: Any)

Bases: pydantic.BaseModel

The metadata for an education resource to be communicated in the Exchange. This could be a lesson plan, one or more datasets, documents, worksheets, images, or videos.

Attributes:

title: Description of title description: Description of description authors: Description of author authoring_institution: Description of authoring_institution subject_tags: Description of subject_tags creation_date: Description of creation_date last_modified_date: Description of last_modified_date usage: Description of usage

title: str = ''
description: str = ''
authors: list[str] = ''
authoring_institution: str = ''
subject_tags: list[str] = []
creation_date: datetime.datetime | None = None
last_modified_date: datetime.datetime | None = None
source_url: str = ''
server.make_education_resource.oercommonts_to_metadata_card(oercommons_item: server.oercommons_models.Model) EducationResource

Convert an OERCommonsModel item to an EducationResource.

server.make_education_resource.json_path