Skip to main content

Module data_ref

Module data_ref 

Source
Expand description

Data references — acdp-data-ref.schema.json.

Each DataRef MUST contain exactly one of location (URI string or structured locator object) or embedded (inline payload, ≤ 64 KB decoded). The type field is a closed enum identifying the role of the reference within the context.

Structs§

DataRef
A reference to a piece of data the context describes.
EmbeddedContent
Inline embedded data payload.

Enums§

DataRefType
Role of a data reference. Closed enum per acdp-data-ref.schema.json type.
EmbeddedEncoding
How the content field of an embedded data reference is encoded.
Location
Locator for DataRef.location — either a URI string or a structured locator object. See acdp-data-ref.schema.json location.oneOf.