The nullTest property can be used for validations.
Reference_Syntax.nullTest = “disabled | error | warning”
disabled (default)
Do not perform this test (default). The form object is permitted to have a value of null. The field can be left without a value and it will not negatively impact the validity of the form. This value disables the validation test.
Emit a warning message if the field is empty, but allow the user to proceed to the next field. The message must inform the user that the form object is recommended to have a value, and provide two choices:
dismiss: The user understands the form’s recommendation and wishes to return to the form and satisfy this constraint.
override: The user understands the form’s recommendation, but has chosen to contravene this constraint.
Form Model

nullTest