Skip to content

Commit

Permalink
OARec: check for conformsTo on detection
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkralidis committed Sep 30, 2024
1 parent f104008 commit 7bff0d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pycsw/core/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -1727,7 +1727,7 @@ def _parse_json_record(context, repos, record):

recobj = None

if 'http://www.opengis.net/spec/ogcapi-records-1/1.0/req/record-core' in record.get('conformsTo', []):
if 'conformsTo' in record:
LOGGER.debug('Parsing OGC API - Records record model')
recobj = _parse_oarec_record(context, repos, record)
elif 'stac_version' in record:
Expand Down

0 comments on commit 7bff0d3

Please sign in to comment.