Added missing schema

This commit is contained in:
Doug Blank 2016-01-06 10:07:25 -05:00
parent 640e834c22
commit b39fd5b634

View File

@ -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 {