Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pygeoapi/linked_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def inner(*args, **kwargs):
provider = meta.get('provider', {})
ident = meta.get('identification', {})
fcmld = {
"@context": "https://schema.org/docs/jsonldcontext.jsonld",
"@context": "https://schema.org/",
"@type": "DataCatalog",
"@id": cfg.get('server', {}).get('url', None),
"url": cfg.get('server', {}).get('url', None),
Expand Down
2 changes: 1 addition & 1 deletion tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def test_root_structured_data(config, api_):
assert root['description'] == 'pygeoapi provides an API to geospatial data'

assert '@context' in root
assert root['@context'] == 'https://schema.org/docs/jsonldcontext.jsonld'
assert root['@context'] == 'https://schema.org/'
expanded = jsonld.expand(root)[0]
assert '@type' in expanded
assert 'http://schema.org/DataCatalog' in expanded['@type']
Expand Down