The metadata object dynamically adapts based on the type field. Only the field corresponding to the type value will contain data, and all other fields will be null.
For example, if type = "select", the select field will hold its respective data, while text, textArea, checkbox, multiSelect, radio, date, file, and number will be null. This ensures only relevant metadata is populated for the specified type.