openepcis / openepcis-models

EPCIS 2.0 Java Models
https://openepcis.io
Apache License 2.0
0 stars 2 forks source link

removing type attribute from sensor elements #1

Closed Aravinda93 closed 1 year ago

Aravinda93 commented 1 year ago

Currently during the creation of EPCIS JSON events with sensorElements "type": "epcis:SensorElement", is being added to all elements due to this the events are not adhering to JSON Schema.

This is occurring because of the presence of the field private String type = "epcis:SensorElement";, hence removing this field to match the JSON schema.

Kindly request you to please review and merge this pull request.