Taxonomy data model

View field support, webhooks, and list parameters for each integration on the Supported Integrations page.

FieldTypeRequiredDescription
idstringYes
namestringNo
labelstringNo
typeenumNoValues: INDUSTRY

TypeScript

TypeScript
export type CrmTaxonomy = {
	id: string;
	name?: string;
	label?: string;
	type?: 'INDUSTRY';
	raw?: any;
} 

Zod

Zod
import { z } from 'zod';

export const ZodCrmTaxonomy = z.object({
	id: z.string(),
	name: z.string().optional(),
	label: z.string().optional(),
	type: z.enum("INDUSTRY").optional(),

});

Python

Python
import dataclasses

@dataclasses.dataclass
class CrmTaxonomyType(str, Enum):
	INDUSTRY = 'INDUSTRY'

@dataclasses.dataclass
class CrmTaxonomy:
	id: str
	name: Optional[str]
	label: Optional[str]
	type: Optional[CrmTaxonomyType]
Are we missing anything? Let us know
Was this page helpful?