# types/vocabulary.types.ts

> 10 lines of code and 3 definitions.

Tree: GovLab Context
Language: typescript
Layer: infrastructure
Canonical: https://banes-lab.com/anatomy/context#file-context-types-vocabulary-types-ts
Source text: https://banes-lab.com/source/context/types/vocabulary.types.ts.txt

Listed in [types](https://banes-lab.com/api/source/context/types.md), after [types/validation.types.ts](https://banes-lab.com/source/context/types/validation.types.ts.md).

## Definitions

- `VocabularyEntry` (interface_declaration, line 1, exported)
- `ClosedVocabulary` (interface_declaration, line 6, exported)
- `ForceKind` (type_alias_declaration, line 12, exported)

## Contained in

- [types](https://banes-lab.com/anatomy/context/folder-context-types.md)

## Source

```typescript
export interface VocabularyEntry<T extends string = string> {
    readonly definition: string;
    readonly value: T;
}

export interface ClosedVocabulary {
    readonly entries: readonly VocabularyEntry[];
    readonly id: string;
    readonly relation: string;
}

export type ForceKind = "anti-force" | "force" | "unknown";
```
