-
Notifications
You must be signed in to change notification settings - Fork 2
Description
A remark came from one of the participants of the ICEG training on 2022-06-13:
"GCloudBE defines a JSON structuring format based on HAL, whereas you seem to be using JSON-LD as a base for your standar.
How do you see these standards;does JSON-LD supersede GCloud, should we do both, or does it depend on context (and when should we be using which)?"
Reaction:
The REST styleguide mentions:
The use of Web Linking and Hypertext Application Language (HAL) is not recommended.
Note that the REST styleguide is not focusing on semantic interoperability, contrary to the ICEG data standards which are focusing on semantics.
You will not find anything on JSON-LD (which is recommended in the ICEG training) in the REST styleguide.
The reason why this phrase is put in the REST styleguide is that HAL was considered to be too complex.
Under the representatives of the G-Cloud work groups nobody heard of a recommendation to use HAL (if you have more info, pls let us know).
What you can find in the REST styleguide regarding the usage of hyperlinks:
https://www.belgif.be/specification/rest/api-guide/#pagination
https://www.belgif.be/specification/rest/api-guide/#hypermedia-controls