We need a similar mechanism to: ``` "entityNameExp": "measure_id" ``` Defined in https://github.com/telefonicaid/iotagent-json/blob/master/docs/usermanual.md#ngsi-v2-and-ngsi-ld-measure-reporting but for entityType, maybe defining entityTypeExp and then allow use: ``` "entityNameExp": "measure_id" ``` Related tests example: In this example there is a ngsiv2 measure with several entities: [https://github.com/telefonicaid/iotagent-json/blob/1c6d13005f7c18ccedb8d99f8dbcf5515ea19e97/test/un…](https://github.com/telefonicaid/iotagent-json/blob/1c6d13005f7c18ccedb8d99f8dbcf5515ea19e97/test/unit/ngsiv2/HTTP_receive_ngsiv2_measures-test.js#L173) And this is the payload sent to CB [https://github.com/telefonicaid/iotagent-json/blob/1c6d13005f7c18ccedb8d99f8dbcf5515ea19e97/test/un…](https://github.com/telefonicaid/iotagent-json/blob/1c6d13005f7c18ccedb8d99f8dbcf5515ea19e97/test/unit/ngsiv2/contextRequests/ngsiv2PayloadMultipleMeasure.json#L6)
We need a similar mechanism to:
Defined in https://github.com/telefonicaid/iotagent-json/blob/master/docs/usermanual.md#ngsi-v2-and-ngsi-ld-measure-reporting
but for entityType, maybe defining entityTypeExp
and then allow use:
Related tests example:
In this example there is a ngsiv2 measure with several entities:
https://github.com/telefonicaid/iotagent-json/blob/1c6d13005f7c18ccedb8d99f8dbcf5515ea19e97/test/un…
And this is the payload sent to CB
https://github.com/telefonicaid/iotagent-json/blob/1c6d13005f7c18ccedb8d99f8dbcf5515ea19e97/test/un…