Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type COREConnector ¶
type COREConnector struct {
// contains filtered or unexported fields
}
func NewCOREConnector ¶
func NewCOREConnector(httpClient transport.HTTPClient) COREConnector
func (COREConnector) Name ¶
func (COREConnector) Name() string
func (COREConnector) Search ¶
func (c COREConnector) Search(ctx context.Context, query core.SourceQuery) (core.SourceResponse, error)
type DOAJConnector ¶
type DOAJConnector struct {
// contains filtered or unexported fields
}
func NewDOAJConnector ¶
func NewDOAJConnector(httpClient transport.HTTPClient) DOAJConnector
func (DOAJConnector) Name ¶
func (DOAJConnector) Name() string
func (DOAJConnector) Search ¶
func (c DOAJConnector) Search(ctx context.Context, query core.SourceQuery) (core.SourceResponse, error)
type OpenAccessCandidate ¶
type OpenAccessCandidate struct {
PaperTitle string `json:"paperTitle"`
DOI string `json:"doi,omitempty"`
Source string `json:"source"`
URL string `json:"url"`
License string `json:"license,omitempty"`
OAStatus string `json:"oaStatus,omitempty"`
Provenance string `json:"provenance"`
Attribution string `json:"attribution,omitempty"`
RateLimitPolicy string `json:"rateLimitPolicy,omitempty"`
APIProvenance string `json:"apiProvenance,omitempty"`
ReviewerApprovalRequired bool `json:"reviewerApprovalRequired"`
}
type OpenAccessCandidateComparison ¶
type OpenAccessCandidateComparison struct {
SchemaVersion string `json:"schemaVersion"`
Candidates []OpenAccessCandidate `json:"candidates"`
}
func CompareOpenAccessCandidates ¶
func CompareOpenAccessCandidates(records []library.PaperRecord) OpenAccessCandidateComparison
type OpenAccessResolvePlan ¶
type OpenAccessResolvePlan struct {
SchemaVersion string `json:"schemaVersion"`
DOI string `json:"doi"`
Sources []OpenAccessResolveSource `json:"sources"`
HumanGates []string `json:"humanGates"`
UnsupportedSources []UnsupportedFullTextSource `json:"unsupportedSources"`
}
OpenAccessResolvePlan is a legal, provenance-first plan for resolving DOI full-text candidates. It intentionally does not download full text or approve acquisition.
func BuildOpenAccessResolvePlan ¶
func BuildOpenAccessResolvePlan(doi string) (OpenAccessResolvePlan, error)
BuildOpenAccessResolvePlan builds a DOI-specific legal OA source plan.
type OpenAccessResolveSource ¶
type OpenAccessResolveSource struct {
ID string `json:"id"`
Label string `json:"label"`
Kind string `json:"kind"`
Lookup string `json:"lookup"`
Signals []string `json:"signals"`
LicensePolicy string `json:"licensePolicy"`
AcquisitionPolicy string `json:"acquisitionPolicy"`
ProvenanceRequired []string `json:"provenanceRequired"`
}
OpenAccessResolveSource describes one legal OA discovery source.
func LegalOpenAccessResolveSources ¶
func LegalOpenAccessResolveSources() []OpenAccessResolveSource
LegalOpenAccessResolveSources returns generic legal OA resolver coverage.
type UnsupportedFullTextSource ¶
UnsupportedFullTextSource documents intentionally unsupported sources.
func UnsupportedFullTextSources ¶
func UnsupportedFullTextSources() []UnsupportedFullTextSource
UnsupportedFullTextSources returns sources intentionally excluded from OA workflows.