OpenWork-NZ / core-geonetwork

GeoNetwork repository
http://geonetwork-opensource.org/
GNU General Public License v2.0
0 stars 3 forks source link

Correct JSON @type definition #95

Open ghost opened 1 year ago

ghost commented 1 year ago

The @type is listed as "@type": "schema:Dataset”, but since you’re using the context of schema.org already, please list it as simply "@type": “Dataset”.

See: https://ant-nz.geodata.nz/geonetwork/srv/api/records/09657986-9160-4a63-bf2d-93db7b7359f7/formatters/jsonld?approved=true

It needs to show:

{ "@context": "http://schema.org/", "@type": "Dataset",

METADATA BODY

}

ghost commented 1 year ago

Can we please fix this issue at the same time: https://github.com/OpenWork-NZ/core-geonetwork/issues/99

ByronCinNZ commented 1 year ago

corrected, tested and pushed to production. 2 hours April billing