frontoffice

package
v1.0.55 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Affiliation

type Affiliation struct {
	Path    []AffiliationPath `json:"path,omitempty"`
	Name    string            `json:"-"`
	UGentID string            `json:"ugent_id,omitempty"`
}

type AffiliationPath

type AffiliationPath struct {
	UGentID string `json:"ugent_id,omitempty"`
}

type Change

type Change struct {
	On string `json:"on,omitempty"`
	To string `json:"to,omitempty"`
}

type Conference

type Conference struct {
	Name      string `json:"name,omitempty"`
	Location  string `json:"location,omitempty"`
	Organizer string `json:"organizer,omitempty"`
	StartDate string `json:"start_date,omitempty"`
	EndDate   string `json:"end_date,omitempty"`
}

type Defense

type Defense struct {
	Date     string `json:"date,omitempty"`
	Location string `json:"location,omitempty"`
}

type ECOOMFund added in v1.0.41

type ECOOMFund struct {
	CSS                        string   `json:"css,omitempty"`
	InternationalCollaboration string   `json:"international_collaboration,omitempty"`
	Sector                     []string `json:"sector,omitempty"`
	Validation                 string   `json:"validation,omitempty"`
	Weight                     string   `json:"weight,omitempty"`
}

type File

type File struct {
	ID                 string  `json:"_id"`
	Name               string  `json:"name,omitempty"`
	Access             string  `json:"access,omitempty"`
	Change             *Change `json:"change,omitempty"`
	ContentType        string  `json:"content_type,omitempty"`
	Kind               string  `json:"kind,omitempty"`
	PublicationVersion string  `json:"publication_version,omitempty"`
	Size               string  `json:"size,omitempty"`
	SHA256             string  `json:"sha256,omitempty"`
}

type Hits

type Hits struct {
	Limit  int       `json:"limit"`
	Offset int       `json:"offset"`
	Total  int       `json:"total"`
	Hits   []*Record `json:"hits"`
}

type Identifier added in v1.0.52

type Identifier struct {
	Type  string `json:"type"`
	Value string `json:"value"`
	URL   string `json:"url,omitempty"`
}

type JCR added in v1.0.41

type JCR struct {
	Eigenfactor          *float64 `json:"eigenfactor,omitempty"`
	ImmediacyIndex       *float64 `json:"immediacy_index,omitempty"`
	ImpactFactor         *float64 `json:"impact_factor,omitempty"`
	ImpactFactor5Yr      *float64 `json:"impact_factor_5yr,omitempty"`
	TotalCites           *int     `json:"total_cites,omitempty"`
	Category             *string  `json:"category,omitempty"`
	CategoryRank         *string  `json:"category_rank,omitempty"`
	CategoryQuartile     *int     `json:"category_quartile,omitempty"`
	CategoryDecile       *int     `json:"category_decile,omitempty"`
	CategoryVigintile    *int     `json:"category_vigintile,omitempty"`
	PrevImpactFactor     *float64 `json:"prev_impact_factor,omitempty"`
	PrevCategoryQuartile *int     `json:"prev_category_quartile,omitempty"`
}
type Link struct {
	Access string `json:"access,omitempty"`
	Kind   string `json:"kind,omitempty"`
	URL    string `json:"url,omitempty"`
}

type Page

type Page struct {
	Count string `json:"count,omitempty"`
	First string `json:"first,omitempty"`
	Last  string `json:"last,omitempty"`
}

type Parent

type Parent struct {
	Title      string `json:"title,omitempty"`
	ShortTitle string `json:"short_title,omitempty"`
}

type Person

type Person struct {
	ID            string        `json:"_id,omitempty"`
	BiblioID      string        `json:"biblio_id,omitempty"`
	CreditRole    []string      `json:"credit_role,omitempty"`
	Name          string        `json:"name,omitempty"`
	FirstName     string        `json:"first_name,omitempty"`
	LastName      string        `json:"last_name,omitempty"`
	NameLastFirst string        `json:"name_last_first,omitempty"`
	UGentID       []string      `json:"ugent_id,omitempty"`
	ORCID         string        `json:"orcid_id,omitempty"`
	Affiliation   []Affiliation `json:"affiliation,omitempty"`
}

type Project

type Project struct {
	ID                   string `json:"_id"`
	Title                string `json:"title,omitempty"`
	StartDate            string `json:"start_date,omitempty"`
	EndDate              string `json:"end_date,omitempty"`
	EUID                 string `json:"eu_id,omitempty"`
	EUCallID             string `json:"eu_call_id,omitempty"`
	EUFrameworkProgramme string `json:"eu_framework_programme,omitempty"`
	EUAcronym            string `json:"eu_acronym,omitempty"`
	GISMOID              string `json:"gismo_id,omitempty"`
	IWETOID              string `json:"iweto_id,omitempty"`
	Abstract             string `json:"abstract,omitempty"`
}

type Publisher

type Publisher struct {
	Name     string `json:"name,omitempty"`
	Location string `json:"location,omitempty"`
}

type Record

type Record struct {
	ID                  string               `json:"_id"`
	Abstract            []string             `json:"abstract,omitempty"`
	AbstractFull        []Text               `json:"abstract_full,omitempty"`
	AccessLevel         string               `json:"access_level,omitempty"`
	AdditionalInfo      string               `json:"additional_info,omitempty"`
	Affiliation         []Affiliation        `json:"affiliation,omitempty"`
	AlternativeLocation []Link               `json:"alternative_location,omitempty"`
	AlternativeTitle    []string             `json:"alternative_title,omitempty"`
	ArticleNumber       string               `json:"article_number,omitempty"`
	ArticleType         string               `json:"article_type,omitempty"`
	ArxivID             string               `json:"arxiv_id,omitempty"`
	Author              []Person             `json:"author,omitempty"`
	AuthorSort          string               `json:"author_sort,omitempty"`
	Classification      string               `json:"classification,omitempty"`
	Conference          *Conference          `json:"conference,omitempty"`
	ConferenceType      string               `json:"conference_type,omitempty"`
	CopyrightStatement  string               `json:"copyright_statement,omitempty"`
	CreatedBy           *Person              `json:"created_by,omitempty"`
	DateFrom            string               `json:"date_from"`
	DateCreated         string               `json:"date_created"`
	DateUpdated         string               `json:"date_updated"`
	Defense             *Defense             `json:"defense,omitempty"`
	DOI                 []string             `json:"doi,omitempty"`
	ECOOM               map[string]ECOOMFund `json:"ecoom,omitempty"`
	Edition             string               `json:"edition,omitempty"`
	Editor              []Person             `json:"editor,omitempty"`
	ESCIID              string               `json:"esci_id,omitempty"`
	Embargo             string               `json:"embargo,omitempty"`
	EmbargoTo           string               `json:"embargo_to,omitempty"`
	External            int                  `json:"external"`
	File                []File               `json:"file,omitempty"`
	FirstAuthor         []Person             `json:"first_author,omitempty"`
	Format              []string             `json:"format,omitempty"`
	Handle              string               `json:"handle,omitempty"`
	Identifier          []Identifier         `json:"identifier,omitempty"`
	ISBN                []string             `json:"isbn,omitempty"`
	ISSN                []string             `json:"issn,omitempty"`
	Issue               string               `json:"issue,omitempty"`
	IssueTitle          string               `json:"issue_title,omitempty"`
	JCR                 *JCR                 `json:"jcr,omitempty"`
	Keyword             []string             `json:"keyword,omitempty"`
	Language            []string             `json:"language,omitempty"`
	LastAuthor          []Person             `json:"last_author,omitempty"`
	License             string               `json:"license,omitempty"`
	MiscType            string               `json:"misc_type,omitempty"`
	OtherLicense        string               `json:"other_license,omitempty"`
	Page                *Page                `json:"page,omitempty"`
	Parent              *Parent              `json:"parent,omitempty"`
	Project             []Project            `json:"project,omitempty"`
	Promoter            []Person             `json:"promoter,omitempty"`
	PublicationStatus   string               `json:"publication_status,omitempty"`
	Publisher           *Publisher           `json:"publisher,omitempty"`
	PubMedID            string               `json:"pubmed_id,omitempty"`
	SeriesTitle         string               `json:"series_title,omitempty"`
	SoleAuthor          *Person              `json:"sole_author,omitempty"`
	Source              *Source              `json:"source,omitempty"`
	Status              string               `json:"status,omitempty"`
	Subject             []string             `json:"subject,omitempty"`
	Title               string               `json:"title,omitempty"`
	Type                string               `json:"type,omitempty"`
	URL                 string               `json:"url,omitempty"`
	Volume              string               `json:"volume,omitempty"`
	WOSID               string               `json:"wos_id,omitempty"`
	WOSType             string               `json:"wos_type,omitempty"`
	Year                string               `json:"year,omitempty"`
	RelatedPublication  []Relation           `json:"related_publication,omitempty"`
	RelatedDataset      []Relation           `json:"related_dataset,omitempty"`
	VABBID              string               `json:"vabb_id,omitempty"`
	VABBType            string               `json:"vabb_type,omitempty"`
	VABBApproved        *int                 `json:"vabb_approved,omitempty"`
	VABBYear            []string             `json:"vabb_year,omitempty"`
}

func MapDataset

func MapDataset(d *models.Dataset, repo *repositories.Repo) *Record

func MapPublication

func MapPublication(p *models.Publication, repo *repositories.Repo) *Record

func (*Record) BestFile added in v1.0.42

func (r *Record) BestFile() *File

func (*Record) IsExternal

func (r *Record) IsExternal() bool

func (*Record) IsVABBApproved

func (r *Record) IsVABBApproved() bool

type Relation

type Relation struct {
	ID string `json:"_id,omitempty"`
}

type Source

type Source struct {
	DB     string `json:"db,omitempty"`
	ID     string `json:"id,omitempty"`
	Record string `json:"record,omitempty"`
}

type Text

type Text struct {
	Text string `json:"text,omitempty"`
	Lang string `json:"lang,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL