@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.
25 lines (21 loc) • 838 B
text/typescript
/**
* @packageDocumentation
* @module Standard.Organization
*/
import { Initializable } from '@ts4ocds/utils';
/**
* The {@link Organization.id | id} and {@link Organization.name | name} of the {@link Organization | party} being referenced.
* Used to cross-reference to the parties section.
*/
export class OrganizationReference extends Initializable<OrganizationReference> {
/**
* The {@link Organization.id | id} of the {@link Organization | party} being referenced.
* This must match the {@link Organization.id | id} of an entry in the parties section.
*/
public id!: string | number;
/**
* The {@link Organization.name | name} of the {@link Organization | party} being referenced.
* This must match the {@link Organization.name | name} of an entry in the parties section.
*/
public name?: string;
}