This document outlines the conventions used in mapping EML XML into JSON-LD.

<url>http://example.com/1</url>
<url>http://example.com/2</url>
<url>http://example.com/3</url>

becomes:

"url": ["http://example.com/1", "http://example.com/2", "http://example.com/3"]
<dataset id="abc123", system="knb"><title>The Title<title></dataset>

becomes

"dataset": {
  "@id": "abc123", 
  "#system": "knb",
  "title": "The Title"
}
<url function="download">http://example.com</url>

becomes:

"url": {
  "#function"="download"
  "url": "http://example.com"
}


cboettig/emld documentation built on Oct. 29, 2020, 3:46 p.m.