/**
 * Generated by orval v8.3.0 🍺
 * Do not edit manually.
 * Mission Control API
 * OpenAPI spec version: 0.1.0
 */
import type { TaskCustomFieldDefinitionCreateFieldType } from "./taskCustomFieldDefinitionCreateFieldType";
import type { TaskCustomFieldDefinitionCreateUiVisibility } from "./taskCustomFieldDefinitionCreateUiVisibility";

/**
 * Payload for creating a task custom field definition.
 */
export interface TaskCustomFieldDefinitionCreate {
  /** @minLength 1 */
  field_key: string;
  label?: string | null;
  field_type?: TaskCustomFieldDefinitionCreateFieldType;
  ui_visibility?: TaskCustomFieldDefinitionCreateUiVisibility;
  validation_regex?: string | null;
  description?: string | null;
  required?: boolean;
  default_value?: unknown | null;
  /** @minItems 1 */
  board_ids: string[];
}
