Skip to main content

Module data

Module data 

Source
Expand description

Core Commonmeta data model.

Translated field-for-field from the Go commonmeta package (reader.go). Each struct uses rename_all = "camelCase" to match the Go JSON tags, with explicit rename overrides for the handful of irregular tags in the source (contentHTML, first_page, last_page, and the reserved word type). Go omitempty is reproduced with skip_serializing_if; Go pointer fields become Option<T>.

Structs§

Affiliation
Container
Contributor
Data
The native Commonmeta record. Mirrors commonmeta.Data.
Date
All fields are ISO 8601 date strings.
Description
File
FundingReference
GeoLocation
GeoLocationBox
GeoLocationPoint
GeoLocationPolygon
The Go source uses snake_case JSON tags for the polygon fields.
Identifier
License
Publisher
Reference
first_page/last_page keep the Go source’s snake_case JSON tags.
Relation
Subject
Title