-
-
Save jenzopr/6bab8db26fb2fb767c08 to your computer and use it in GitHub Desktop.
Example JSON+Collection for the bioassembly ALPS profile.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"collection" : { | |
"version" : "1.0", | |
"href" : "http://example.org/assemblies/", | |
"links" : [ | |
{ | |
"rel" : "profile", | |
"href" : "http://alps.example.org/bioassembly.xml" | |
}, | |
{ | |
"rel" : "search", | |
"href" : "http://example.org/assemblies/search" | |
}, | |
{ | |
"rel" : "create-form", | |
"href" : "http://example.org/assemblies/add" | |
} | |
], | |
"items" : [ | |
{ | |
"href" : "http://example.org/assemblies/hg38", | |
"rel" : "item", | |
"data" : [ | |
{"name" : "title", "value" : "Human genome assembly GRCh38" }, | |
{"name" : "version", "value" : "hg38" }, | |
], | |
"links" : [ | |
{ | |
"rel" : "related", | |
"href" : "http://example.org/hg38/chr/1" | |
}, | |
{ | |
"rel" : "related", | |
"href" : "http://example.org/hg38/chr/2" | |
}, | |
{ | |
"rel" : "related", | |
"href" : "http://example.org/hg38/chr/3" | |
}, | |
{ | |
"rel" : "edit-form", | |
"href" : "http://example.org/assemblies/hg38/edit" | |
}, | |
], | |
"_property" : [ | |
{ | |
"term" : "SO:0001491", | |
"value": "finished" | |
}, | |
{ | |
"term" : "EFO:0000634", | |
"value" : "Homo Sapiens" | |
} | |
] | |
}, | |
{ | |
"href" : "http://example.org/assemblies/hg19", | |
"rel" : "item", | |
"data" : [ | |
{"name" : "title", "value" : "Human genome assembly GRCh37" }, | |
{"name" : "version", "value" : "hg19" }, | |
], | |
"links" : [ | |
{ | |
"rel" : "related", | |
"href" : "http://example.org/hg19/chr/1" | |
}, | |
{ | |
"rel" : "related", | |
"href" : "http://example.org/hg19/chr/2" | |
}, | |
{ | |
"rel" : "related", | |
"href" : "http://example.org/hg19/chr/3" | |
}, | |
{ | |
"rel" : "edit-form", | |
"href" : "http://example.org/assemblies/hg19/edit" | |
}, | |
], | |
"_properties" : [ | |
{ | |
"term" : "SO:0001491", | |
"value": "finished" | |
}, | |
{ | |
"term" : "EFO:0000634", | |
"value" : "Homo Sapiens" | |
} | |
] | |
}, | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment