generic

package
v0.0.0-...-79441cb Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Archive

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

type Expedition struct {
	Name    string `json:"name"`
	Details string `json:"details"`
	Link    []Link `json:"link"`
	Ids     []Id   `json:"ids"`
	Date    time.Time
}

type GeoLocation

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"`
}

type Id

type Id struct {
	Name string `json:"name"`
	Id   string `json:"id"`
	Type IdType `json:"type"`
	From string `json:"from"`
}

type IdType

type IdType string
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

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

type Locality struct {
	Type        string `json:"type"`
	Description string `json:"description"`
}

type Location

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

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

type Method struct {
	Name        string `json:"name"`
	Description string `json:"description"`
}

type Person

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

type PhysiographicFeature struct {
	Type        string `json:"type"`
	Name        string `json:"name"`
	Description string `json:"description"`
}

type Platform

type Platform struct {
	Type        string `json:"type"`
	Name        string `json:"name"`
	Description string `json:"description"`
}

type Program

type Program struct {
	Name    string `json:"name"`
	Details string `json:"details"`
	Link    []Link `json:"link"`
	Ids     []Id   `json:"ids"`
	Date    time.Time
}

type Type

type Type string
const (
	TypeCore    Type = "core"
	TypeSample  Type = "sample"
	TypeUnknown Type = "unknown"
	TypeOther   Type = "other"
)

Jump to

Keyboard shortcuts

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