Interface: IDataspaceProtocolDataset
Dataset interface compliant with Eclipse Data Space Protocol.
This interface extends IDataset and enforces DS Protocol-specific requirements by overriding properties with more specific types and constraints.
Requirements per DS Protocol:
@idMUST be present for dataset identification (REQUIRED)odrl:hasPolicyMUST be present as an array of ODRL Offers (REQUIRED)- Array MUST contain at least one IOdrlOffer
- Each Offer MUST have
@type: "Offer" - Each Offer MUST have
@id dcat:distributionMUST be present (REQUIRED)
Type System Design:
- W3C DCAT spec defines
odrl:hasPolicyas optional singularIOdrlPolicy - DS Protocol requires it as a REQUIRED array of
IOdrlOffer - Interface extension allows TypeScript to override inherited property types
- Standards packages (@twin.org/standards-w3c-*) follow W3C specs exactly
- DS Protocol-specific constraints are defined here
Future Compatibility:
- Currently only one Offer per dataset is supported
- Array structure allows future support for multiple offers
See
- https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1-err1/#lower-level-types
- https://www.w3.org/TR/vocab-dcat-3/ - W3C DCAT v3 spec
- IOdrlOffer from @twin.org/standards-w3c-odrl
- IResource.odrl:hasPolicy from @twin.org/standards-w3c-dcat
Extends
Omit<IDcatDataset,"odrl:hasPolicy"|"dcat:distribution"|"@type"|"@context">
Properties
@context
@context:
DataspaceProtocolContextType
LD Context. Required per Eclipse Data Space Protocol.
@type
@type:
"Dataset"
The type identifier for the dataset. REQUIRED per Eclipse Data Space Protocol.
@id
@id:
string
Unique identifier for the dataset. REQUIRED per Eclipse Data Space Protocol.
Overrides
Omit.@id
hasPolicy
hasPolicy:
IDataspaceProtocolOfferNoContext|IDataspaceProtocolOfferNoContext[]
Array of ODRL policies (Offers) as required by DS Protocol.
REQUIRED per Eclipse Data Space Protocol spec. Must contain at least one IOdrlOffer. Currently only single offer is supported, but array structure allows for future multi-offer support.
distribution
distribution:
IDataspaceProtocolDistributionNoContext|IDataspaceProtocolDistributionNoContext[]
Distribution of the dataset. REQUIRED per Eclipse Data Space Protocol.
dcterms:accrualPeriodicity?
optionaldcterms:accrualPeriodicity:string
The frequency at which the dataset is published.
See
https://www.w3.org/TR/vocab-dcat-3/#Property:dataset_frequency
Inherited from
Omit.dcterms:accrualPeriodicity
dcat:inSeries?
optionaldcat:inSeries:string
A dataset series of which the dataset is part.
See
https://www.w3.org/TR/vocab-dcat-3/#Property:dataset_in_series
Inherited from
Omit.dcat:inSeries
dcterms:spatial?
optionaldcterms:spatial:string|string[] |IJsonLdNodeObject
The geographical area covered by the dataset.
See
https://www.w3.org/TR/vocab-dcat-3/#Property:dataset_spatial
Inherited from
Omit.dcterms:spatial
dcat:spatialResolutionInMeters?
optionaldcat:spatialResolutionInMeters:number
Minimum spatial separation resolvable in a dataset, measured in meters.
See
https://www.w3.org/TR/vocab-dcat-3/#Property:dataset_spatial_resolution
Inherited from
Omit.dcat:spatialResolutionInMeters
dcterms:temporal?
optionaldcterms:temporal:IDublinCorePeriodOfTime
The temporal period that the dataset covers.
See
https://www.w3.org/TR/vocab-dcat-3/#Property:dataset_temporal
Inherited from
Omit.dcterms:temporal
dcat:temporalResolution?
optionaldcat:temporalResolution:string
Minimum time period resolvable in the dataset.
See
https://www.w3.org/TR/vocab-dcat-3/#Property:dataset_temporal_resolution
Inherited from
Omit.dcat:temporalResolution
prov:wasGeneratedBy?
optionalprov:wasGeneratedBy:string|IJsonLdNodeObject
An activity that generated, or provides the business context for, the creation of the dataset.
See
https://www.w3.org/TR/vocab-dcat-3/#Property:dataset_was_generated_by
Inherited from
Omit.prov:wasGeneratedBy
dcterms:title?
optionaldcterms:title:DcatLiteralType
A name given to the resource.
See
https://www.w3.org/TR/vocab-dcat-3/#Property:resource_title
Inherited from
Omit.dcterms:title
dcterms:description?
optionaldcterms:description:DcatLiteralType
A free-text account of the resource.
See
https://www.w3.org/TR/vocab-dcat-3/#Property:resource_description
Inherited from
Omit.dcterms:description
dcterms:identifier?
optionaldcterms:identifier:DcatLiteralType
A unique identifier of the resource.
See
https://www.w3.org/TR/vocab-dcat-3/#Property:resource_identifier
Inherited from
Omit.dcterms:identifier
dcterms:issued?
optionaldcterms:issued:string
Date of formal issuance (publication) of the resource.
See
https://www.w3.org/TR/vocab-dcat-3/#Property:resource_release_date
Inherited from
Omit.dcterms:issued
dcterms:modified?
optionaldcterms:modified:string
Most recent date on which the resource was changed, updated or modified.
See
https://www.w3.org/TR/vocab-dcat-3/#Property:resource_update_date
Inherited from
Omit.dcterms:modified
dcterms:language?
optionaldcterms:language:string|string[]
A language of the resource.
See
https://www.w3.org/TR/vocab-dcat-3/#Property:resource_language
Inherited from
Omit.dcterms:language
dcterms:publisher?
optionaldcterms:publisher:string|IFoafAgentWithAliases
An entity responsible for making the resource available.
See
https://www.w3.org/TR/vocab-dcat-3/#Property:resource_publisher
Inherited from
Omit.dcterms:publisher
dcterms:creator?
optionaldcterms:creator:string|IFoafAgentWithAliases
An entity responsible for producing the resource.
See
https://www.w3.org/TR/vocab-dcat-3/#Property:resource_creator
Inherited from
Omit.dcterms:creator
dcterms:accessRights?
optionaldcterms:accessRights:string|IJsonLdNodeObject
Information about who can access the resource or an indication of its security status.
See
https://www.w3.org/TR/vocab-dcat-3/#Property:resource_access_rights
Inherited from
Omit.dcterms:accessRights
dcterms:license?
optionaldcterms:license:string|IJsonLdNodeObject
A legal document under which the resource is made available.
See
https://www.w3.org/TR/vocab-dcat-3/#Property:resource_license
Inherited from
Omit.dcterms:license
dcterms:rights?
optionaldcterms:rights:string|IJsonLdNodeObject
Information about rights held in and over the resource.
See
https://www.w3.org/TR/vocab-dcat-3/#Property:resource_rights
Inherited from
Omit.dcterms:rights
dcterms:conformsTo?
optionaldcterms:conformsTo:string|string[]
An established standard to which the resource conforms.
See
https://www.w3.org/TR/vocab-dcat-3/#Property:resource_conforms_to
Inherited from
Omit.dcterms:conformsTo
dcterms:type?
optionaldcterms:type:string
The nature or genre of the resource.
See
https://www.w3.org/TR/vocab-dcat-3/#Property:resource_type
Inherited from
Omit.dcterms:type
dcat:contactPoint?
optionaldcat:contactPoint:string|IJsonLdNodeObject
Relevant contact information for the catalogued resource.
See
https://www.w3.org/TR/vocab-dcat-3/#Property:resource_contact_point
Inherited from
Omit.dcat:contactPoint
dcat:keyword?
optionaldcat:keyword:DcatLiteralType
A keyword or tag describing the resource.
See
https://www.w3.org/TR/vocab-dcat-3/#Property:resource_keyword
Inherited from
Omit.dcat:keyword
dcat:theme?
optionaldcat:theme:string|string[]
A main category of the resource. A resource can have multiple themes.
See
https://www.w3.org/TR/vocab-dcat-3/#Property:resource_theme
Inherited from
Omit.dcat:theme
dcat:landingPage?
optionaldcat:landingPage:string|string[]
A Web page that can be navigated to gain access to the resource.
See
https://www.w3.org/TR/vocab-dcat-3/#Property:resource_landing_page
Inherited from
Omit.dcat:landingPage
dcat:qualifiedRelation?
optionaldcat:qualifiedRelation:string|IDcatRelationship
Link to a description of a relationship with another resource.
See
https://www.w3.org/TR/vocab-dcat-3/#Property:resource_qualified_relation
Inherited from
Omit.dcat:qualifiedRelation