JSON-LD (JavaScript Object Notation for Linked Data) is a recent recommendation from the W3C.  The goal of JSON-LD was to take the compact JSON format and use it to store metadata in a way that Resource Description Framework (RDF) triples could be generated directly from JSON-LD files. As it is important to show the versatility of ChAMP, in this case across different file formats, a JSON-LD context for ChAMP was developed in order to create example standards from it.

The main context file and the contexts referenced within are shown below (with links to the files).  Unlike XML where schema are developed as single files (in most cases) due to the organized structure of XML documents, JSON-LD is setup to allow arrays of contexts (and additional definitions) be integrated together (by the order they are in the array). Below are graphical representations of the main categories of metadata (each as a context) plus some additional metadata elements that complete the ChAMP specification (the JSON has be compacted a little to make the page a little shorter).

Main Context

main

Analyte Context

analyte

Concept Context

concept

Contact Context

contact

Data Context

data

Datum Context

datum

Description Context

description

Infrastructure Context

infrastructure

Materials Context

materials

Metadata Context

metadata

Quality Context

quality

Sample Context

sample

Sampleprep Context

sampleprep

 Solution Context

solution

Substance Context

substance

Technique Context

technique