Documentation
¶
Overview ¶
Package ror converts ROR (Research Organization Registry) metadata.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Content ¶
type Content struct {
*ROR
Locations []Location `json:"locations"`
Established int `json:"established"`
ExternalIDs []ExternalID `json:"external_ids"`
Links []Link `json:"links"`
Relationships []Relationship `json:"relationships"`
Status string `json:"status"`
Types []string `json:"types"`
Admin struct {
Created struct {
Date string `json:"date"`
SchemaVersion string `json:"schema_version"`
}
LastModified struct {
Date string `json:"date"`
SchemaVersion string `json:"schema_version"`
}
}
}
Content represents the full ROR metadata record.
type ExternalID ¶
type GeonamesDetails ¶
type GeonamesDetails struct {
ContinentCode string `json:"continent_code"`
ContinentName string `json:"continent_name"`
CountryCode string `json:"country_code"`
CountryName string `json:"country_name"`
CountrySubdivisionCode string `json:"country_subdivision_code"`
CountrySubdivisionName string `json:"country_subdivision_name"`
Lat float64 `json:"lat"`
Lng float64 `json:"lng"`
Name string `json:"name"`
}
type Identifier ¶
type InvenioRDM ¶
type InvenioRDM struct {
ID string `json:"id"`
Identifiers []Identifier `json:"identifiers"`
Name string `json:"name"`
}
InvenioRDM represents the ROR metadata record in InvenioRDM format.
func Convert ¶
func Convert(data ROR) (InvenioRDM, error)
Convert converts ROR metadata into InvenioRDM format.
type Location ¶
type Location struct {
GeonamesID int `json:"geonames_id"`
GeonamesDetails GeonamesDetails `json:"geonames_details"`
}
type ROR ¶
ROR represents the minimal ROR metadata record.
type Relationship ¶
Click to show internal directories.
Click to hide internal directories.