Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Affiliation ¶
type Container ¶
type Container struct {
Identifier string `json:"identifier,omitempty"`
IdentifierType string `json:"identifierType,omitempty"`
Type string `json:"type,omitempty"`
Title string `json:"title,omitempty"`
FirstPage string `json:"firstPage,omitempty"`
LastPage string `json:"lastPage,omitempty"`
Volume string `json:"volume,omitempty"`
Issue string `json:"issue,omitempty"`
}
type Contributor ¶
type Contributor struct {
ID string `json:"id,omitempty"`
Type string `json:"type,omitempty"`
Name string `json:"name,omitempty"`
GivenName string `json:"givenName,omitempty"`
FamilyName string `json:"familyName,omitempty"`
Affiliations []Affiliation `json:"affiliations,omitempty"`
ContributorRoles []string `json:"contributorRoles,omitempty"`
}
type Data ¶
type Data struct {
// required fields
ID string `db:"id" json:"id"`
Type string `db:"type" json:"type"`
// optional fields
AdditionalType string `db:"additional_type" json:"additionalType,omitempty"`
ArchiveLocations []string `db:"archive_locations" json:"archiveLocations,omitempty"`
Container Container `db:"container" json:"container,omitempty"`
Contributors []Contributor `db:"contributors" json:"contributors,omitempty"`
Date Date `db:"date" json:"date,omitempty"`
Descriptions []Description `db:"descriptions" json:"descriptions,omitempty"`
Files []File `db:"files" json:"files,omitempty"`
FundingReferences []FundingReference `db:"funding_references" json:"fundingReferences,omitempty"`
GeoLocations []GeoLocation `db:"geo_locations" json:"geoLocations,omitempty"`
Identifiers []Identifier `db:"identifiers" json:"identifiers,omitempty"`
Language string `db:"language" json:"language,omitempty"`
License License `db:"license" json:"license,omitempty"`
Provider string `db:"provider" json:"provider,omitempty"`
Publisher Publisher `db:"publisher" json:"publisher,omitempty"`
References []Reference `db:"references" json:"references,omitempty"`
Relations []Relation `db:"relations" json:"relations,omitempty"`
Subjects []Subject `db:"subjects" json:"subjects,omitempty"`
Titles []Title `db:"titles" json:"titles,omitempty"`
Url string `db:"url" json:"url,omitempty"`
Version string `db:"version" json:"version,omitempty"`
}
type Date ¶
type Date struct {
Created string `json:"created,omitempty"`
Submitted string `json:"submitted,omitempty"`
Accepted string `json:"accepted,omitempty"`
Published string `json:"published,omitempty"`
Updated string `json:"updated,omitempty"`
Accessed string `json:"accessed,omitempty"`
Available string `json:"available,omitempty"`
Copyrighted string `json:"copyrighted,omitempty"`
Collected string `json:"collected,omitempty"`
Valid string `json:"valid,omitempty"`
Withdrawn string `json:"withdrawn,omitempty"`
Other string `json:"other,omitempty"`
}
type Description ¶
type FundingReference ¶
type GeoLocation ¶
type GeoLocation struct {
GeoLocationPlace string `json:"geoLocationPlace,omitempty"`
GeoLocationPoint GeoLocationPoint `json:"geoLocationPoint,omitempty"`
GeoLocationBox GeoLocationBox `json:"geoLocationBox,omitempty"`
}
type GeoLocationBox ¶
type GeoLocationPoint ¶
type GeoLocationPolygon ¶
type GeoLocationPolygon struct {
PolygonPoints []GeoLocationPoint `json:"polygon_points,omitempty"`
InPolygonPoint GeoLocationPoint `json:"in_polygon_point,omitempty"`
}
type Identifier ¶
Click to show internal directories.
Click to hide internal directories.