@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.
19 lines (15 loc) • 745 B
text/typescript
/**
* @packageDocumentation
* @module Standard.Tender
*/
import { ClosedCodeList, CodeList } from '@ts4ocds/utils';
/**
* The primary category describing the main object of this contracting process,
* from the closed [procurementCategory](https://standard.open-contracting.org/1.1/en/schema/codelists/#procurement-category) codelist.
*/
export const MainProcurementCategories = new ClosedCodeList(['goods', 'works', 'services']);
/**
* The primary category describing the main object of this contracting process,
* from the closed [procurementCategory](https://standard.open-contracting.org/1.1/en/schema/codelists/#procurement-category) codelist.
*/
export type MainProcurementCategory = CodeList<typeof MainProcurementCategories>;