LabelingIR.Schema.Field (LabelingIR v0.1.0)

View Source

A single field in a label schema.

Summary

Types

field_type()

@type field_type() :: :scale | :text | :boolean | :select | :multiselect | atom()

t()

@type t() :: %LabelingIR.Schema.Field{
  default: term() | nil,
  help: String.t() | nil,
  max: integer() | nil,
  min: integer() | nil,
  name: String.t(),
  options: [String.t()] | nil,
  required: boolean(),
  type: field_type()
}