diff --git a/src/index-metadbs/twodmatpedia/v1/info.json b/src/index-metadbs/twodmatpedia/v1/info.json new file mode 100644 index 0000000..9bae185 --- /dev/null +++ b/src/index-metadbs/twodmatpedia/v1/info.json @@ -0,0 +1,42 @@ +{ + "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/twodmatpedia/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" : "twodmatpedia", + "type" : "links" + } + } + }, + "id" : "/" + } +} diff --git a/src/index-metadbs/twodmatpedia/v1/links.json b/src/index-metadbs/twodmatpedia/v1/links.json new file mode 100644 index 0000000..1305bab --- /dev/null +++ b/src/index-metadbs/twodmatpedia/v1/links.json @@ -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" : "twodmatpedia", + "type" : "links", + "attributes" : { + "name": "2DMatpedia", + "description": "2DMatpedia, an open computational database of two-dimensional materials from top-down and bottom-up approaches", + "base_url": "http://optimade.2dmatpedia.org", + "homepage": "http://2dmatpedia.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" + } + } + ] +} diff --git a/src/links/v1/providers.json b/src/links/v1/providers.json index b70595f..4259caa 100644 --- a/src/links/v1/providers.json +++ b/src/links/v1/providers.json @@ -205,6 +205,17 @@ "homepage": "https://www.crystallography.net/tcod", "link_type": "external" } + }, + { + "type": "links", + "id": "twodmatpedia", + "attributes": { + "name": "2DMatpedia", + "description": "2DMatpedia, an open computational database of two-dimensional materials from top-down and bottom-up approaches", + "base_url": "http://providers.optimade.org/index-metadbs/twodmatpedia", + "homepage": "http://2dmatpedia.org", + "link_type": "external" + } } ] }