Skip to content

Commit 72405ac

Browse files
Update customize_schema.py
1 parent 98c3443 commit 72405ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

caltechdata_api/customize_schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ def validate_metadata(json_record):
504504
for creator in json_record["creators"]:
505505
if not isinstance(creator, dict):
506506
errors.append("Each 'creator' must be a dictionry")
507-
if "nameType" in creator:
507+
if "nameType" in creator:
508508
if creator["nameType"] == "Organizational":
509509
if "name" not in creator:
510510
errors.append("Each organizational 'creator' must have 'name'.")

0 commit comments

Comments
 (0)