Skip to content

Commit 070da79

Browse files
Update customize_schema.py
1 parent 0b25f18 commit 070da79

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

caltechdata_api/customize_schema.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,6 @@ def validate_metadata(json_record):
596596
errors.append("'types' must have 'resourceTypeGeneral'.")
597597
if "resourceType" in json_record["types"] and not isinstance(json_record["types"]["resourceType"], str):
598598
errors.append("'resourceType' should be a string if provided.")
599-
=======
600599
for location in json_record["geoLocations"]:
601600
if not isinstance(location, dict):
602601
errors.append("Each entry in 'geoLocations' must be a dictionary.")

0 commit comments

Comments
 (0)