In this way JS developers can use JS prop paths (dotted access), eg if bay is a variable that holds an object of type Bay, you can access its URN as bay.id rather than having to use bay["@id"]
We could also do the same for value and language, then we can shorten the payload a bit:
@Sveino
Should we declare aliases for the
@
terms?In this way JS developers can use JS prop paths (dotted access), eg if
bay
is a variable that holds an object of typeBay
, you can access its URN asbay.id
rather than having to usebay["@id"]
We could also do the same for
value
andlanguage
, then we can shorten the payload a bit: