@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.
37 lines (30 loc) • 650 B
text/typescript
/**
* @packageDocumentation
* @module Standard
*/
import { Initializable } from '@ts4ocds/utils';
/**
* An address.
*/
export class Address extends Initializable<Address> {
/**
* The street address. For example, *'1600 Amphitheatre Pkwy'*.
*/
public streetAddress?: string;
/**
* The locality. For example, *'Mountain View'*.
*/
public locality?: string;
/**
* The region. For example, *'CA'*.
*/
public region?: string;
/**
* The postal code. For example, *'94043'*.
*/
public postalCode?: string;
/**
* The country name. For example, *'United States'*.
*/
public countryName?: string;
}