cvat-sdk
Version:
CVAT SDK is a Javascript library. It provides you access to Javascript functions and objects that simplify server interaction and provide additional functionality like data validation and serialization.
17 lines (16 loc) • 467 B
TypeScript
import type { Attribute } from './attribute';
import type { LabelType } from './label-type';
import type { Sublabel } from './sublabel';
export interface Label {
'id'?: number;
'name': string;
'color'?: string;
'attributes'?: Array<Attribute>;
'type'?: LabelType;
'svg'?: string;
'sublabels'?: Array<Sublabel>;
'project_id'?: number | null;
'task_id'?: number | null;
'parent_id'?: number | null;
'has_parent'?: boolean;
}