We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b25f18 commit 070da79Copy full SHA for 070da79
caltechdata_api/customize_schema.py
@@ -596,7 +596,6 @@ def validate_metadata(json_record):
596
errors.append("'types' must have 'resourceTypeGeneral'.")
597
if "resourceType" in json_record["types"] and not isinstance(json_record["types"]["resourceType"], str):
598
errors.append("'resourceType' should be a string if provided.")
599
-=======
600
for location in json_record["geoLocations"]:
601
if not isinstance(location, dict):
602
errors.append("Each entry in 'geoLocations' must be a dictionary.")
0 commit comments