As a tool developer I want the Action API to replicate the same response to EntitySchemas in statements as other Wikibase Entities in order to have a more seamless experience
**Problem:**
From @Pintoch: As a tool developer, I observe that the API exposes those values as string data values and not entities: https://test.wikidata.org/w/api.php?action=wbgetentities&ids=Q497.
{F37110313}
In this screenshot, you can see that the Action API returns the `type` for the EntitySchema data-value in a statement as `string` rather than `wikibase-entityid` as it does for item values.
As EntitySchemas are not wbentities we will be using `entityschemaid` instead.
**BDD**
GIVEN statement using the EntitySchema data type
AND Action API
WHEN Action API returns the statement
THEN the EntitySchema data-value is returned as a `entityschemaid`
**Acceptance criteria:**
[ ] An EntitySchema data-value is returned as a `entityschemaid` data-value type when accessed through the Action API
**Open questions**
Could returning the EntitySchema value as `entityschemaid` be a solution?