Skip to content

Instantly share code, notes, and snippets.

@tingletech
Last active August 29, 2015 14:07
Show Gist options
  • Save tingletech/c49f73370830404711c5 to your computer and use it in GitHub Desktop.
Save tingletech/c49f73370830404711c5 to your computer and use it in GitHub Desktop.

Vertex type 1: Cached Descriptive Summary Data

  • properties; title, source, rights etc.
  • out edges; obtain_content, source_metadata, access point
  • in edges; obtain_content, descriptive_summary

Vertex type 2: vernacular metadata (descriptive and technical)

  • properties; blob and parsed original data
  • out edges; referenced_file
  • in edges; source_metadata

Vertex type 3: digital file

  • properties; blob and parsed original data [or reference]
  • in edges; obtain_content
  • out edges; descriptive_summary

Vertex type 4: access point

  • properties; authorized heading
  • in edges; descriptive_summary
{
"#": "properties starting with `#` are comments",
"__parsed_metadata__": "v0",
"__id__": "XYZABC",
"ucldc:title": "xxx",
"ucldc:creator": "yyy",
"content": [
{"label for top node": "xyzabc"},
],
"metadata": [ {"#": "source metadata (points to files as well)"}],
}
{
"#": "properties starting with `#` are comments",
"__parsed_metadata__": "v0",
"__id__": "XYZABC",
"ucldc:title": "xxx",
"ucldc:creator": "yyy",
"content": [
{"label for top node": "xyzabc"},
[
{"#": "children nodes"},
]
]
}
{
"#": "properties starting with `#` are comments",
"__binary_file__": "v0",
"__id__": "xyzabc",
"__md__": "XYZABC", "#": "primary metadata reference",
"bytes": 46202,
"mime_type": "image/jpeg",
"efficiency": 0.9984200033593065,
"sha512": "74554ce93e58a71a3245c77214312475c065a4f08b65f648413b59f8dc0577810df381b80b1373...81741",
"loc": [
"/some/path/to/file",
"http://some.path.to/file"
],
"services": {
"download": {},
"thumbnail": { "#": "info to construct thumbnail URL"},
"iiif": { "#": "info to construct iiif URL"}
},
"#": "show all V.in() and V.out()"
}
{
"__binary_file__": "v0",
"content": [
'',
]
}
{
"__binary_file__": "v0",
"mime_type": "application/xml",
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment