Skip to content

Commit

Permalink
fix: add more types of alternative names
Browse files Browse the repository at this point in the history
resolves #398
  • Loading branch information
sennierer committed Dec 11, 2024
1 parent ed47224 commit bc53ad1
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion apis_ontology/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,18 @@ class Person(
},
},
},
"art": {"type": "string", "enum": ["", "Ehename", "Pseudonym"]},
"art": {
"type": "string",
"enum": [
"",
"Ehename",
"Pseudonym",
"Ordensname",
"Künstlername",
"Mädchenname",
"Schreibvariante",
],
},
"start": {
"type": "string",
"pattern": "^$|^\d\d\d\d$",
Expand Down

0 comments on commit bc53ad1

Please sign in to comment.