oarepo_oaipmh_harvester.oai_harvester.schema
oarepo_oaipmh_harvester.oai_harvester.schema
Schema for OAI Harvester.
HarvestManagerSchema
Bases: Schema
Schema for a harvest manager.
Source code in oarepo_oaipmh_harvester/oai_harvester/schema.py
user = fields.String(required=True)
class-attribute
instance-attribute
The user ID of the harvest manager.
OAIHarvesterSchema
Bases: BaseRecordSchema
Schema for OAI Harvester.
Source code in oarepo_oaipmh_harvester/oai_harvester/schema.py
id = fields.String(required=True)
class-attribute
instance-attribute
The ID of the OAI harvester.
base_url = fields.String(required=True)
class-attribute
instance-attribute
The base URL of the OAI-PMH service.
name = fields.String(required=True)
class-attribute
instance-attribute
The name of the harvester.
comment = fields.String()
class-attribute
instance-attribute
Comment.
metadata_prefix = fields.String(required=True)
class-attribute
instance-attribute
The metadata prefix to harvest.
setspec = fields.String()
class-attribute
instance-attribute
The set specifications to harvest.
loader = fields.String(required=True)
class-attribute
instance-attribute
The definition of the loader.
transformers = fields.List(fields.String(), load_default=list)
class-attribute
instance-attribute
The list of transformers.
writers = fields.List(fields.String(), load_default=list)
class-attribute
instance-attribute
The list of writers.
harvest_managers = fields.List(fields.Nested(HarvestManagerSchema), load_default=list)
class-attribute
instance-attribute
The list of harvest managers.
HarvestActionSchema
Bases: Schema
Payload of the administration "Run" action.