From b39fd5b6349fe1a185af2d8395b3a77562a6086b Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Wed, 6 Jan 2016 10:07:25 -0500 Subject: [PATCH] Added missing schema --- gramps/gen/lib/surname.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/gramps/gen/lib/surname.py b/gramps/gen/lib/surname.py index 2915f71ca..f92236290 100644 --- a/gramps/gen/lib/surname.py +++ b/gramps/gen/lib/surname.py @@ -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 {