/* generated using openapi-typescript-codegen -- do not edit */ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ import type { FieldTypeEnum } from './FieldTypeEnum'; export type PatchedDemographicsFieldDefinitionWrite = { /** * Human-readable field label displayed in forms. */ name?: string; /** * URL-safe identifier used as the key in custom_fields payloads. */ slug?: string; /** * Data type for this field. One of: text, number, date, boolean, select, multi_select. * * * `text` - Text * * `number` - Number * * `date` - Date * * `boolean` - Boolean * * `select` - Select * * `multi_select` - Multi-select */ field_type?: FieldTypeEnum; /** * Whether this field must be filled in by the user. */ required?: boolean; /** * List of valid options for select/multi_select fields. Must be empty for other types. */ choices?: any; /** * Sort order for rendering fields in the UI. Lower values appear first. */ display_order?: number; /** * Inactive fields are hidden from forms and excluded from responses. */ active?: boolean; /** * Optional description or instructions shown alongside the field. */ description?: string; };