Skip to content

Fields

Keys inside plugin.json's fields[] array. Curio assigns each field's numeric ID, owner and reader metadata when loading the plugin. See Register indexable fields.

fields[].key

stringRequired

Unique lowercase machine identifier used in queries, item.update and extractors[].fields (for example "model_triangles" or "read_state").

fields[].label

stringRequired

Human-readable display name shown in the Inspector, List view columns, the Filter bar and Settings › Fields.

fields[].type

stringRequired

Value storage type: text, integer, float, boolean, date, datetime, single_select, multi_select, json, url or file_ref.

fields[].description

stringDefault: ""

Tooltip and help text displayed in Settings › Fields.

fields[].default_value

string | nullDefault: null

Optional default string value for new manual entries.

fields[].options

string[]Default: []

Predefined choice values for single_select and multi_select fields (for example ["unread", "reading", "finished"]).

fields[].validation

objectDefault: {}

Validation constraints (min, max, max_length, pattern, required).

fields[].format

stringDefault: ""

Optional display formatting hint.

fields[].widget

stringDefault: "" ("row")

Inspector editor presentation: "row" (single line, default when empty), "block" (multi-line text box) or "code" (monospace multi-line text box). Multi-value multi_select fields render as chips automatically.

fields[].visible

booleanDefault: true

Whether the field appears in Inspector field widgets and the List view column picker.

fields[].sort_order

integerDefault: 0

Relative ordering index among fields.

fields[].own_filter

booleanDefault: false

When true, adds the field as a top-level Filter bar option and standalone Smart Folder rule (users can still override this in Settings › Fields).

fields[].filter_kind

stringDefault: "" (auto)

Filter UI style: "list", "range", "text", "has" or "" (selected automatically from type).

fields[].indexed

booleanDefault: true

Initial indexing state for file-reading fields. Set false for high-cardinality fields (such as seed or model_vertices) so users can opt in via Settings › Fields. Fields without readers are always indexed.

fields[].pair

string | nullDefault: null

Key of the primary field this secondary field pairs with (for example "lora" on lora_strength or "series" on series_index).

fields[].filter_group

string | nullDefault: null

Shared label combining multiple numeric fields of this plugin into one multi-range filter popover (for example "Model size (mm)").

fields[].validation.min

number | nullDefault: null

Minimum accepted numeric value for integer and float fields.

fields[].validation.max

number | nullDefault: null

Maximum accepted numeric value for integer and float fields.

fields[].validation.max_length

integer | nullDefault: null

Maximum character length for text, URL, select, file reference and JSON values.

fields[].validation.pattern

string | nullDefault: null

Regular expression that text values must match.

fields[].validation.required

booleanDefault: false

When true, clearing or submitting an empty value is rejected.