easy-global-market / ngsild-api-data-models

6 stars 3 forks source link

feat: added 'for' & 'uses' into context for relationships #227

Closed JDFleury closed 1 month ago

JDFleury commented 1 month ago

Adding new variables that will be included in the Authorization entity.

"for" will be used for the relationship between the Authorization & the gate. "uses" will be used for the relationship between the Authorization & the key that the authorization is assigned to.

bobeal commented 1 month ago

not really fan of such very generic names.

JDFleury commented 1 month ago

not really fan of such very generic names.

Would you prefer hasGate & hasKey? I have seen this used before within Stellio

bobeal commented 1 month ago

not really fan of such very generic names.

Would you prefer hasGate & hasKey? I have seen this used before within Stellio

in the long term, will open-it open other things that are not gates?

JDFleury commented 1 month ago

not really fan of such very generic names.

Would you prefer hasGate & hasKey? I have seen this used before within Stellio

in the long term, will open-it open other things that are not gates?

It is possible yes. And we discussed other names for "Gate" but still settled on Gate since in English it can be used in a more global context as well, i.e an airport Gate. Other options I think were AccessPoint & Entrance.