/**
 * 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 {
  /** @minItems 1 */
  board_ids: string[];
  default_value?: unknown | null;
  description?: string | null;
  /** @minLength 1 */
  field_key: string;
  field_type?: TaskCustomFieldDefinitionCreateFieldType;
  label?: string | null;
  required?: boolean;
  ui_visibility?: TaskCustomFieldDefinitionCreateUiVisibility;
  validation_regex?: string | null;
}
