@ts4ocds/core
Version:
TS4OCDS is a library of TypeScript entities that takes an approach to befriend large OCDS JSONs with your per-project routine of writing whole lotta interfaces for them.
28 lines (24 loc) • 777 B
text/typescript
/**
* @packageDocumentation
* @module Standard.RelatedProcess
*/
import { CodeList, OpenCodeList } from '@ts4ocds/utils';
/**
* The type of {@link RelatedProcess.relationship | relationship},
* using the open [relatedProcess](https://standard.open-contracting.org/1.1/en/schema/codelists/#related-process) codelist.
*/
export const Relationships = new OpenCodeList([
'framework',
'planning',
'parent',
'prior',
'unsuccessfulProcess',
'subContract',
'replacementProcess',
'renewalProcess',
]);
/**
* The type of {@link RelatedProcess.relationship | relationship},
* using the open [relatedProcess](https://standard.open-contracting.org/1.1/en/schema/codelists/#related-process) codelist.
*/
export type Relationship = CodeList<typeof Relationships>;