Skip to content

Commit

Permalink
Do not preserve @context as x-jsonld-context
Browse files Browse the repository at this point in the history
  • Loading branch information
avillar committed Jul 4, 2023
1 parent 39ae784 commit b938ec8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ogc/na/annotate_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ def expand_uri(uri: str) -> str | tuple[str, str] | None:
term_id = term_val
elif isinstance(term_val, dict):
term_id = term_val.get('@id')
keywords[term] = {k: v for k, v in term_val.items() if k.startswith('@') and k != '@id'}
keywords[term] = {k: v for k, v in term_val.items() if k.startswith('@') and k not in ('@id', '@context')}
else:
term_id = None

Expand Down

0 comments on commit b938ec8

Please sign in to comment.