Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomDate ¶
func (CustomDate) MarshalJSON ¶
func (cd CustomDate) MarshalJSON() ([]byte, error)
func (*CustomDate) UnmarshalJSON ¶
func (cd *CustomDate) UnmarshalJSON(b []byte) error
type DataFile ¶
type DataFile struct {
ID int `json:"id"`
PersistentId string `json:"persistentId,omitempty"`
PidURL string `json:"pidURL,omitempty"`
Filename string `json:"filename,omitempty"`
ContentType string `json:"contentType,omitempty"`
FriendlyType string `json:"friendlyType,omitempty"`
Filesize int `json:"filesize,omitempty"`
Description string `json:"description,omitempty"`
StorageIdentifier string `json:"storageIdentifier,omitempty"`
RootDataFileId int `json:"rootDataFileId,omitempty"`
Md5 string `json:"md5,omitempty"`
Checksum struct {
Type string `json:"type,omitempty"`
Value string `json:"value,omitempty"`
} `json:"checksum,omitempty"`
TabularData bool `json:"tabularData,omitempty"`
CreationDate CustomDate `json:"creationDate,omitempty"`
PublicationDate CustomDate `json:"publicationDate,omitempty"`
FileAccessRequest bool `json:"fileAccessRequest,omitempty"`
}
type DatasetContact ¶
type DatasetVersion ¶
type DatasetVersion struct {
ID int `json:"id"`
DatasetId int `json:"datasetId,omitempty"`
DatasetPersistentId string `json:"datasetPersistentId,omitempty"`
StorageIdentifier string `json:"storageIdentifier,omitempty"`
VersionNumber int `json:"versionNumber,omitempty"`
VersionMinorNumber int `json:"versionMinorNumber,omitempty"`
VersionState string `json:"versionState,omitempty"`
UNF string `json:"UNF,omitempty"`
LastUpdateTime CustomDate `json:"lastUpdateTime,omitempty"`
ReleaseTime CustomDate `json:"releaseTime,omitempty"`
CreateTime CustomDate `json:"createTime,omitempty"`
PublicationDate CustomDate `json:"publicationDate,omitempty"`
CitationDate CustomDate `json:"citationDate,omitempty"`
License License `json:"license,omitempty"`
FileAccessRequest bool `json:"fileAccessRequest,omitempty"`
MetadataBlocks struct {
Citation MetadataBlock `json:"citation,omitempty"`
Geospatial MetadataBlock `json:"geospatial,omitempty"`
Journal MetadataBlock `json:"journal,omitempty"`
} `json:"metadataBlocks,omitempty"`
Files []File `json:"files,omitempty"`
Citation string `json:"citation,omitempty"`
}
type DsDescription ¶
type DsDescription struct {
DsDescriptionValue string `json:"dsDescriptionValue,omitempty"`
DsDescriptionDate CustomDate `json:"dsDescriptionDate,omitempty"`
}
type Field ¶
type Field struct {
TypeName string `json:"typeName,omitempty"`
Multiple bool `json:"multiple,omitempty"`
TypeClass string `json:"typeClass,omitempty"`
Value StringOrFields `json:"value,omitempty"`
}
type GrantNumber ¶
type Grodata ¶
type Grodata struct {
ID int `json:"id"`
Identifier string `json:"identifier,omitempty"`
PersistentUrl string `json:"persistentUrl,omitempty"`
Protocol string `json:"protocol,omitempty"`
Authority string `json:"authority,omitempty"`
Publisher string `json:"publisher,omitempty"`
PublicationDate CustomDate `json:"publicationDate,omitempty"`
StorageIdentifier string `json:"storageIdentifier,omitempty"`
DatasetVersion DatasetVersion `json:"datasetVersion,omitempty"`
}
func (Grodata) GetAuthors ¶
func (Grodata) GetDescription ¶
type MetadataBlock ¶
type Publication ¶
type StringOrFields ¶
type StringOrFields struct {
Type string
Str []string `json:"string,omitempty"`
Fields []map[string]Field `json:"fields,omitempty"`
}
func (StringOrFields) MarshalJSON ¶
func (s StringOrFields) MarshalJSON() ([]byte, error)
func (StringOrFields) String ¶
func (s StringOrFields) String() string
func (*StringOrFields) UnmarshalJSON ¶
func (s *StringOrFields) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.