Skip to main content
Version: Next

_FieldKind

The selector-mapping shape of a single schema field.

Index

Enumeration members

LEAF

LEAF: 'leaf'

A scalar value extracted by one leaf selector.

LIST_MODEL

LIST_MODEL: 'list_model'

A list of items. Maps to a container selector plus relative sub-selectors.

LIST_OF_LISTS

LIST_OF_LISTS: 'list_of_lists'

Unsupported: a list nested inside a list.

LIST_SCALAR

LIST_SCALAR: 'list_scalar'

A list or set of scalars extracted by one leaf selector matching many nodes.

LIST_UNION

LIST_UNION: 'list_union'

Unsupported: a list of a union type (a match cannot pick a member).

MAPPING

MAPPING: 'mapping'

Unsupported: a dict-typed field.

NESTED_MODEL

NESTED_MODEL: 'nested_model'

A single nested model. Maps to a container selector plus relative sub-selectors.

UNSUPPORTED

UNSUPPORTED: 'unsupported'

Unsupported: any other parametrized annotation (tuple, set, ...).