Geonovum / uml2json

Best Practise for OGC - UML to JSON Encoding Rules
https://geonovum.github.io/uml2json/document.html
0 stars 1 forks source link

7.11 - pja - encoding of entityType #28

Closed PalmJanssen closed 1 year ago

PalmJanssen commented 1 year ago

For clarification.

Do I understand correctly that 'entityType' contains the name of the UML Class?

If so, the example below figure 44 can be less abstract like:

{ “entityType”: “Person”, “property”: “dateOfBirth” }

jechterhoff commented 1 year ago

Yes, the entityType member is supposed to encode the name of the conceptual type of the JSON object.

Good point regarding the rather abstract example. I've just updated it.