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 98c3443 commit 72405acCopy full SHA for 72405ac
caltechdata_api/customize_schema.py
@@ -504,7 +504,7 @@ def validate_metadata(json_record):
504
for creator in json_record["creators"]:
505
if not isinstance(creator, dict):
506
errors.append("Each 'creator' must be a dictionry")
507
- if "nameType" in creator:
+ if "nameType" in creator:
508
if creator["nameType"] == "Organizational":
509
if "name" not in creator:
510
errors.append("Each organizational 'creator' must have 'name'.")
0 commit comments