Skip to content

Instantly share code, notes, and snippets.

@waynegraham
Created April 5, 2018 15:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save waynegraham/83b677d46688f817116830c852d824cc to your computer and use it in GitHub Desktop.
Save waynegraham/83b677d46688f817116830c852d824cc to your computer and use it in GitHub Desktop.
API prototype
{
  //Metadata about this manifest file
  "@context": "https://api.clir.org/grants/1/context.json",
  "@id": "https://www.example.edu/grants/grant##/manifest",
  "@type": "sc:Manifest",
  // Descriptive metadata about the object/work
  "label": "Recording 1",
  "metadata": [
    {"label": "Name", "value": "Object name"},
    {"label": "Source", "value": "<span>From: <a href=\"http://www.example.edu/db/1.html\">Some Collection</a></span>"}
  ],
  "derivative": {
    "@id": "https://www.example.edu/path/to/resource.mp4",
    "@checksum": "c53b9907999d92eabaf1a2004cac7cb6"
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment