models

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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collection

type Collection struct {
	Methods       []generic.Method `json:"methods"`
	Operators     []string         `json:"operators"`
	FundingAgency string           `json:"funding_agency"`
	TotalLength   float64          `json:"total_length"`
	Units         string           `json:"units"`
	Comments      string           `json:"comments"`
	Platform      generic.Platform `json:"platform"`
	Personal      []generic.Person `json:"personal"`
	StartDate     time.Time        `json:"start_date"`
	EndDate       time.Time        `json:"end_date"`
	DatePrecision string           `json:"date_precision"`
}

type Core

type Core struct {
	Reference string `json:"reference"`
	Unit      string `json:"unit"`

	FromCorrectedDepth float64 `json:"from_corrected_depth"`
	ToCorrectedDepth   float64 `json:"to_corrected_depth"`
	CorrectedLength    float64 `json:"corrected_length"`
	Diameter           float64 `json:"diameter"`

	Sections []CoreSection `json:"sections"`
}

type CoreSection

type CoreSection struct {
	Reference string  `json:"reference"`
	Unit      string  `json:"unit"`
	FromDepth float64 `json:"from_depth"`
	ToDepth   float64 `json:"to_depth"`

	Primary     SectionData `json:"primary"`
	Secondary   SectionData `json:"secondary"`
	Comment     string      `json:"comment"`
	Description string      `json:"description"`
	Color       string      `json:"color"`
	ColorSpace  string      `json:"color_space"`
	Components  []string    `json:"components"`

	GeologicalAge  string `json:"geological_age"`
	GeologicalUnit string `json:"geological_unit"`
}

type Item

type Item struct {
	Ids         []generic.Id `json:"ids"`
	ParentIds   []generic.Id `json:"parent_ids"`
	SiblingIds  []generic.Id `json:"sibling_ids"`
	ChildrenIds []generic.Id `json:"children_ids"`

	GenericType generic.Type   `json:"generic_type"`
	Type        string         `json:"type"`
	Name        []string       `json:"name"`
	Links       []generic.Link `json:"links"`
	Sources     []generic.Link `json:"sources"`

	Program     generic.Program    `json:"program"`
	Expedition  generic.Expedition `json:"expedition"`
	ReleaseDate time.Time          `json:"release_date"`

	Location    generic.Location    `json:"location"`
	GeoLocation generic.GeoLocation `json:"geo_location"`
	Core        Core                `json:"core"`

	Repositories []generic.Archive `json:"repositories"`

	Requester []generic.Person `json:"requester"`
	Purpose   string           `json:"purpose"`

	Collection Collection `json:"collection"`
}

type SectionData

type SectionData struct {
	Composition string `json:"composition"`
	Texture     string `json:"texture"`
	Comment     string `json:"comment"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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