@twin.org/standards-w3c-dcat
Version:
Models which define the structure of W3C DCAT Standard
26 lines (25 loc) • 903 B
TypeScript
import type { IJsonLdNodeObject } from "@twin.org/data-json-ld";
import type { DcatClasses } from "./dcatClasses.js";
import type { DcatContextType } from "./dcatContextType.js";
import type { LiteralType } from "./types/dcatPropertyTypes.js";
/**
* Interface for DCAT Role.
* A role is the function of a resource or agent with respect to another resource,
* in the context of resource attribution or resource relationships.
* @see https://www.w3.org/TR/vocab-dcat-3/#Class:Role
*/
export interface IRole extends IJsonLdNodeObject {
/**
* The JSON-LD context for the resource.
*/
"@context"?: DcatContextType;
/**
* The type identifier, typically "Role".
*/
"@type": typeof DcatClasses.Role;
/**
* A name given to the distribution.
* @see https://www.w3.org/TR/vocab-dcat-3/#Property:distribution_title
*/
"dcterms:title"?: LiteralType;
}