Expand description
Domain model for resource instances — ResourceSummary, ResourcePage,
ResourceDetail, ResourceVisibility, ResourceAccess, FieldValues,
Value, ValueContent, DateValue, DatePoint, and FileValue.
These types cross the client/action boundary: ResourcePage is the raw
per-page result returned by [DspClient::list_resources]; ResourceSummary
is the per-row projection that flows through the action into the renderer.
ResourceDetail carries the full envelope metadata returned by
[DspClient::describe_resource]. FieldValues and ValueContent carry
the parsed field values (instance side), emitted when --values is set.
Structs§
- Date
Point - One endpoint of a date range, with optional precision.
- Date
Value - Calendar-aware date value, optionally a range.
- Field
Values - One field on a resource and the value(s) it holds (instance side).
- File
Value - File-representation value, covering all representation kinds.
- Resource
Detail - Full envelope metadata for a single resource instance.
- Resource
Page - A single page of resource-list results from the DSP-API.
- Resource
Summary - A single resource instance, as returned by the list endpoint.
- Value
- One value on a field, plus its optional per-value comment
(
knora-api:valueHasComment). The comment is free-text server-supplied annotation;Nonewhen the value has no comment (the common case).
Enums§
- Resource
Access - What the requesting caller can do with a resource.
- Resource
Visibility - Who can see a resource — derived from the resource’s full access-control list.
- Value
Content - The typed content of a single value (instance side).