While creating a new MediaWiki-REST-API endpoint in the IP Info extension T260603, we discovered that we may have properties that are missing. These properties could be scalars, arrays, or nested objects. Does Platform Engineering recommend returning these values as empty ({}, [], null) or should the property be removed from the output completely? What about nested objects? Should every property always exist in the output?
We do not have a preference, but would like the APIs to be consistent either way.