From c2d8bd99a212a9a97f5adfada70a30123bc51de0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Schl=C3=B6gl?= Date: Wed, 11 Dec 2024 15:36:56 +0100 Subject: [PATCH] fix: add more types of alternative names resolves #398 --- apis_ontology/models.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/apis_ontology/models.py b/apis_ontology/models.py index 1c422dd..0e98680 100644 --- a/apis_ontology/models.py +++ b/apis_ontology/models.py @@ -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$",