lw_prototype: validate input data

Add function to validate the input data to ensure it has the required fields and their values are of the expected types.

Bug: T358676

Merge request reports

Loading