Skip to main content

Module resource_type

Module resource_type 

Source
Expand description

Resource-type domain shape — shared across the client → action boundary.

Types here are the dsp-cli vocabulary for resource-type detail data, surfaced by dsp vre resource-type describe. DSP-API wire types live inside src/client/http.rs and are never exposed above the client layer. See ADR-0001 and ADR-0008.

Key CONTEXT.md vocabulary: resource-type, field, value-type, cardinality, representation. Wire deserialization (DSP-API owl:Restriction, owl:onProperty, knora-api:objectType, rdfs:subClassOf, etc.) stays inside src/client/http.rs.

Structs§

Field
A field belonging to a resource-type, as surfaced by dsp vre resource-type describe.
ResourceTypeDetail
The full detail of a resource-type, as surfaced by dsp vre resource-type describe.

Enums§

Cardinality
Cardinality constraint on a field — how many values may / must be supplied.
Representation
Representation kind of a resource-type — what kind of file it holds.
ValueType
The kind of value a field holds — the dsp-cli vocabulary for DSP-API’s knora-api:objectType.