Discover Packages
git.sr.ht/~bob620/bevo-generic
models
generic
package
Version:
v0.0.0-...-79441cb
Opens a new window with list of versions in this module.
Published: Feb 15, 2021
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Archive struct {
StoredAt string `json:"stored_at"`
Ids []Id `json:"ids"`
Contact []Person `json:"contact"`
Since time .Time `json:"since"`
Till time .Time `json:"till"`
StorageType string `json:"storage_type"`
Links []Link `json:"links"`
}
type Expedition struct {
Name string `json:"name"`
Details string `json:"details"`
Link []Link `json:"link"`
Ids []Id `json:"ids"`
Date time .Time
}
type GeoLocation struct {
Zone string `json:"zone"`
VerticalDatum string `json:"vertical_datum"`
ElevationStart float64 `json:"elevation_start"`
ElevationEnd float64 `json:"elevation_end"`
Type string `json:"type"`
Name string `json:"name"`
Description string `json:"description"`
Material Material `json:"material"`
Physiographic PhysiographicFeature `json:"physiographic"`
}
const (
IdTypeIGSN IdType = "igsn"
IdTypeIMLGS IdType = "imlgs"
IdTypeSample IdType = "sample"
)
Sample Ids
const (
IdTypeISNI IdType = "isni"
IdTypeORCID IdType = "orcid"
)
Person Ids
const (
IdTypeUnknown IdType = "unknown"
)
Generic Ids
type Launch struct {
Type string `json:"type"`
Name string `json:"name"`
Description string `json:"description"`
LaunchId string `json:"launch_id"`
}
type Link struct {
From string `json:"from"`
URL string `json:"url"`
Caption string `json:"caption"`
LastStatus int `json:"last_status"`
LastChecked time .Time `json:"last_checked"`
}
type Locality struct {
Type string `json:"type"`
Description string `json:"description"`
}
type Location struct {
Latitude float64 `json:"latitude"`
Longitude float64 `json:"longitude"`
Elevation float64 `json:"elevation"`
GeoHash string `json:"geo_hash"`
CoordinateSystem string `json:"coordinate_system"`
NavType string `json:"nav_type"`
Country string `json:"country"`
Province string `json:"province"`
County string `json:"county"`
City string `json:"city"`
}
type Material struct {
Material string `json:"material"`
Classification string `json:"classification"`
SubClassification string `json:"sub_classification"`
Description string `json:"description"`
GenericSize float64 `json:"generic_size"`
SizeUnit string `json:"size_unit"`
}
type Method struct {
Name string `json:"name"`
Description string `json:"description"`
}
type Person struct {
Name string `json:"name"`
Contact []string `json:"contact"`
Links []Link `json:"links"`
Details string `json:"details"`
Ids []Id `json:"ids"`
Position string `json:"position"`
}
type PhysiographicFeature struct {
Type string `json:"type"`
Name string `json:"name"`
Description string `json:"description"`
}
type Platform struct {
Type string `json:"type"`
Name string `json:"name"`
Description string `json:"description"`
}
type Program struct {
Name string `json:"name"`
Details string `json:"details"`
Link []Link `json:"link"`
Ids []Id `json:"ids"`
Date time .Time
}
const (
TypeCore Type = "core"
TypeSample Type = "sample"
TypeUnknown Type = "unknown"
TypeOther Type = "other"
)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.