DCAT JSON structure #23
Description
I've been looking at implementing DCAT support in Geoportal Server (https://github.com/Esri/geoportal-server) and have a question on the expected JSON structure.
the examples+templates for DCAT JSON suggest the following structure:
{ [ catalog info, catalog item 1, catalog item 2, … ] }
all in 1 json array.
this structure seems to be what is intended (by looking at the RDF and W3C specs for DCAT):
{ catalog info, [catalog item 1, catalog item 2, ...] }
Subtle but important difference. Can someone clarify?
also, the array appears to be an unnamed JSON object. I'd suggest to assign a name to further clarify the role of different JSON elements.
{
"info" : {catalog info here},
"items" : [catalog items here]
}
this follows typical approaches in ATOM/RSS formats.