diff --git a/ogc/na/annotate_schema.py b/ogc/na/annotate_schema.py index 10a15f3..3d09682 100644 --- a/ogc/na/annotate_schema.py +++ b/ogc/na/annotate_schema.py @@ -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