Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion caltechdata_api/customize_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ def validate_metadata(json_record):
for creator in json_record["creators"]:
if not isinstance(creator, dict):
errors.append("Each 'creator' must be a dictionry")
if "nameType" in creator:
if "nameType" in creator:
if creator["nameType"] == "Organizational":
if "name" not in creator:
errors.append("Each organizational 'creator' must have 'name'.")
Expand Down
Loading