FieldSpecification
Represents a field with its metadata.
Attributes:
name (str): Name of the field.
type (typing.Any): Type annotation of the field.
default (Default | None): Default value/factory of the field. Defaults to None.
description (str | None): Description of the field. Defaults to None.
optional (bool | None): Indicates if the field accepts None. Defaults to None.
title (str | None): Title of the field. Defaults to None.