Skip to content

Commit

Permalink
adding index meta-db for OQMD
Browse files Browse the repository at this point in the history
  • Loading branch information
tachyontraveler committed Dec 21, 2020
1 parent afc0147 commit fd42b28
Show file tree
Hide file tree
Showing 3 changed files with 79 additions and 2 deletions.
43 changes: 43 additions & 0 deletions src/index-metadbs/oqmd/v1/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"meta" : {
"api_version" : "1.0.0",
"query" : {
"representation" : "/info"
},
"more_data_available" : false,
"schema" : "https://schemas.optimade.org/openapi/v1.0/optimade_index.json"
},
"data" : {
"attributes" : {
"available_api_versions" : [
{
"version" : "1.0.0",
"url" : "http://providers.optimade.org/index-metadbs/oqmd/v1/"
}
],
"is_index" : true,
"formats" : [
"json"
],
"entry_types_by_format" : {
"json" : []
},
"available_endpoints" : [
"info",
"links"
],
"api_version" : "1.0.0"
},
"type" : "info",
"relationships" : {
"default" : {
"data" : {
"id" : "oqmd",
"type" : "links"
}
}
},
"id" : "/"
}
}

34 changes: 34 additions & 0 deletions src/index-metadbs/oqmd/v1/links.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"meta": {
"api_version": "1.0.0",
"query": {
"representation": "/links"
},
"more_data_available": false,
"schema": "https://schemas.optimade.org/openapi/v1.0/optimade_index.json"
},
"data": [
{
"id": "oqmd",
"type": "links",
"attributes": {
"name": "The OQMD",
"description": "The Open Quantum Materials Database endpoint",
"base_url": "http://oqmd.org/optimade/",
"homepage": "http://oqmd.org",
"link_type": "child"
}
},
{
"id": "optimade-providers",
"type": "links",
"attributes": {
"name": "OPTIMADE Providers Index Meta-Database",
"description": "The list of OPTIMADE providers maintained by Materials-Consortia",
"base_url": "https://providers.optimade.org",
"homepage": "https://www.optimade.org",
"link_type": "providers"
}
}
]
}
4 changes: 2 additions & 2 deletions src/links/v1/providers.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,9 @@
"type": "links",
"id": "oqmd",
"attributes": {
"name": "The Open Quantum Materials Database",
"name": "The Open Quantum Materials Database (OQMD)",
"description": "The OQMD is a database of DFT calculated thermodynamic and structural properties of materials",
"base_url": "http://oqmd.org/optimade",
"base_url": "http://providers.optimade.org/index-metadbs/oqmd",
"homepage": "http://oqmd.org",
"link_type": "external"
}
Expand Down

0 comments on commit fd42b28

Please sign in to comment.