in annotation/annotation/schemas/categories.py [0:0]
def validate_schema(cls, schema: dict) -> bool:
if not schema:
return False
for attr in schema:
if attr not in cls.__members__.keys():
return False
if not schema.get("taxonomy_id"):
return False
return True