diff --git a/pygeoapi/provider/base.py b/pygeoapi/provider/base.py index c81c2b4f4..66cc68240 100644 --- a/pygeoapi/provider/base.py +++ b/pygeoapi/provider/base.py @@ -85,7 +85,7 @@ def get_fields(self): """ Get provider field information (names, types) - Example response: {'field1': 'string', 'field2': 'number'}} + Example response: {'field1': {'type': 'string'}, 'field2': {'type': 'number'}} :returns: dict of field names and their associated JSON Schema types """ @@ -97,7 +97,7 @@ def fields(self) -> dict: """ Store provider field information (names, types) - Example response: {'field1': {'type': 'string'}} + Example response: {'field1': {'type': 'string'}, 'field2': {'type': 'number'}} :returns: dict of dicts (field names and their associated JSON Schema definitions)