If there are an infinite number of different inputs, the API cannot be responsible for managing that. A solution would be to force standardization from the program using this API.
For example,...