@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.
61 lines (57 loc) • 1.58 kB
text/typescript
/**
* @packageDocumentation
* @module Standard.Document
*/
import { CodeList, OpenCodeList } from '@ts4ocds/utils';
/**
* A {@link Document.documentType | classification} of the {@link Document | document} described,
* using the open [documentType](https://standard.open-contracting.org/1.1/en/schema/codelists/#document-type) codelist.
*/
export const DocumentTypes = new OpenCodeList([
'plannedProcurementNotice',
'tenderNotice',
'awardNotice',
'contractNotice',
'completionCertificate',
'procurementPlan',
'biddingDocuments',
'technicalSpecifications',
'evaluationCriteria',
'evaluationReports',
'contractDraft',
'contractSigned',
'contractArrangements',
'contractSchedule',
'physicalProgressReport',
'financialProgressReport',
'finalAudit',
'hearingNotice',
'marketStudies',
'eligibilityCriteria',
'clarifications',
'shortlistedFirms',
'environmentalImpact',
'assetAndLiabilityAssessment',
'riskProvisions',
'winningBid',
'complaints',
'contractAnnexe',
'contractGuarantees',
'subContract',
'needsAssessment',
'feasibilityStudy',
'projectPlan',
'billOfQuantity',
'bidders',
'conflictOfInterest',
'debarments',
'illustration',
'submissionDocuments',
'contractSummary',
'cancellationDetails',
]);
/**
* A {@link Document.documentType | classification} of the {@link Document | document} described,
* using the open [documentType](https://standard.open-contracting.org/1.1/en/schema/codelists/#document-type) codelist.
*/
export type DocumentType = CodeList<typeof DocumentTypes>;