FieldsValidity
Represents the validity of multiple fields, each represented by a ComponentValidity instance. This sealed interface combines the functionalities of Validity and Mappable, allowing for validation status tracking of grouped components and their serialized representation as map or JSON.
Properties:
fields: A list of ComponentValidity instances representing the validity state of individual components.
Functions:
toJsonObject(): Converts the current validity state into a JsonObject.toJsonString(): Serializes the current validity state to a JSON-formatted string.