Added missing schema
This commit is contained in:
parent
640e834c22
commit
b39fd5b634
@ -98,6 +98,16 @@ class Surname(SecondaryObject):
|
||||
"origintype": self.origintype.to_struct(),
|
||||
"connector": self.connector}
|
||||
|
||||
@classmethod
|
||||
def get_schema(cls):
|
||||
return {
|
||||
"surname": str,
|
||||
"prefix": str,
|
||||
"primary": str,
|
||||
"origintype": NameOriginType,
|
||||
"connector": str
|
||||
}
|
||||
|
||||
@classmethod
|
||||
def get_labels(cls, _):
|
||||
return {
|
||||
|
Loading…
Reference in New Issue
Block a user