Currently some fields/elements in the statement data might be skipped in the REST API response when the related data, e.g. when there are no references or qualifiers attached to the statement.
To increase the predictability of the API responses, all fields are to be included in the response, even if they only contain an "empty" value.
Fields to include in the response:
- id
- mainsnak
- rank
- qualifiers
- qualifiers-order
- references
The change will likely also involve adjusting examples in the openapi specification.
This applies to statement data in responses in all relevant GET "endpoints"