Fide logoFIDE

Quickstart

Install the SDK and look up Fide entity type definitions.

The fastest way to work with the Fide Vocabulary is through the JavaScript SDK.

Install

pnpm add @fide-work/vocabulary@alpha

The @alpha tag is the latest pre-release.

Look Up An Entity Type

import { getFideEntityTypeSpecByName } from "@fide-work/vocabulary";

const person = getFideEntityTypeSpecByName("Person");

console.log(person.code);
console.log(person.description);

List All Entity Types

import { listFideEntityTypes } from "@fide-work/vocabulary";

const entityTypes = listFideEntityTypes();

console.log(entityTypes.length);
console.log(entityTypes.map((entityType) => entityType.name));

Next Steps

On this page