Question
I have to parse different kinds of JSON-LD content:
some are frame, others are framed, others are plain data files.
I see that I can use ; profile=... at content-negotiation time,
but I found no specific keyword I can use to distinguish files
by their content.
Is there a keyword for that?
If not, does it make sense to define a @profile keyword to
espress the specific jsonld profile inside the file?
Ex.1
"@profile": http://www.w3.org/ns/json-ld#frame
"@context": ...
"@explicit": true
name: {}
Ex.2
"@profile": http://www.w3.org/ns/json-ld#framed
"@context": ...
"@graph":
- name: Homer
- name: Marge
Have a nice day, R.
Question
I have to parse different kinds of JSON-LD content:
some are frame, others are framed, others are plain data files.
I see that I can use
; profile=...at content-negotiation time,but I found no specific keyword I can use to distinguish files
by their content.
Is there a keyword for that?
If not, does it make sense to define a
@profilekeyword toespress the specific jsonld profile inside the file?
Ex.1
Ex.2
Have a nice day, R.