Skip to content

Instantly share code, notes, and snippets.

@chinchliff
Last active December 11, 2015 23:09
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chinchliff/4675090 to your computer and use it in GitHub Desktop.
Save chinchliff/4675090 to your computer and use it in GitHub Desktop.
Example JSON defining the format for namedumps from treestores
{
"metadata":{
"version":"",
"treestoreMetadata":{
"treestoreShortName":"ottol",
"treestoreLongName":"Open Tree of Life",
"domain":"",
"urlPrefix":""
}
},
"externalSources":{
"ncbi":{
"author":"no one",
"weburl":"http://www.ncbi.nlm.nih.gov/",
"urlPrefix":"http://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?id=",
"uri":""
},
"gbif":{
"author":"gbif",
"weburl":"",
"urlPrefix":"",
"uri":""
}
},
"names":[
{
"name":"example name 0",
"treestoreId":"ncbi:uid0",
"sourceIds":{
"ncbi":"uid0",
"gbif":"uid1"
}
},
{
"name":"example name 0",
"treestoreId":"gbif:uid2",
"sourceIds":{
"gbif":"uid2"
}
}
]
}
@chinchliff
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment