Last updated

Class: APIOntologyV2

An interface representing an Entity object.

Interface

IEntity

Implements

Table of contents

Properties

Constructors

Methods

Properties

attributes

• attributes: string[]

Implementation of

IOntology.attributes


id

• id: string

A globally unique identifier for the Entity.

Implementation of

IOntology.id


metadata

• metadata: OntologyMetadata

Implementation of

IOntology.metadata


roots

• roots: string[]

Implementation of

IOntology.roots


title

• title: string

Implementation of

IOntology.title


creator

• creator: string

The creator of the Entity.

Implementation of

IOntology.creator


structureIds

• structureIds: string[]

Implementation of

IOntology.structureIds


createdAt

• Optional createdAt: Date

The date and time when the Entity was created.

Implementation of

IOntology.createdAt


updatedAt

• Optional updatedAt: Date

The date and time when the Entity was last updated.

Implementation of

IOntology.updatedAt


updatedBy

• Optional updatedBy: string

The user who last updated the Entity.

Implementation of

IOntology.updatedBy


v2

• v2: true

Constructors

constructor

• new APIOntologyV2(ontology)

Parameters

NameType
ontologyPartial<APIOntologyV2>

Methods

toJSON

▸ toJSON(): Object

Returns

Object

NameType
idstring
creatorstring
titlestring
rootsstring[]
structureIdsstring[]
metadataOntologyMetadata
attributesstring[]
createdAtDate
updatedAtDate
updatedBystring
v2true