@twin.org/standards-w3c-dcat
Version:
Models which define the structure of W3C DCAT Standard
31 lines (30 loc) • 1.12 kB
TypeScript
import type { ObjectOrArray } from "@twin.org/core";
import type { DcatClasses } from "./dcatClasses.js";
import type { IDataset } from "./IDataset.js";
/**
* Interface for DCAT Dataset Series.
* A collection of datasets that are published separately, but share some common
* characteristics that enable them to be grouped together.
* @see https://www.w3.org/TR/vocab-dcat-3/#Class:Dataset_Series
*/
export interface IDatasetSeries extends IDataset {
/**
* The type identifier, typically "DatasetSeries".
*/
"@type": typeof DcatClasses.DatasetSeries;
/**
* A dataset that is part of this dataset series.
* @see https://www.w3.org/TR/vocab-dcat-3/#Property:dataset_series_first
*/
"dcat:first"?: string;
/**
* A dataset that is part of this dataset series.
* @see https://www.w3.org/TR/vocab-dcat-3/#Property:dataset_series_last
*/
"dcat:last"?: string;
/**
* A dataset that is part of this dataset series.
* @see https://www.w3.org/TR/vocab-dcat-3/#Property:dataset_series_member
*/
"dcat:seriesMember"?: ObjectOrArray<string>;
}