Fix source attribute lists in schema

This commit is contained in:
prculley 2017-07-17 15:34:38 +01:00 committed by Nick Hall
parent d275b3f7a3
commit d6ca3cf527
2 changed files with 6 additions and 6 deletions

View File

@ -120,7 +120,7 @@ class Citation(MediaBase, NoteBase, SrcAttributeBase, IndirectCitationBase,
"media_list": {"type": "array", "media_list": {"type": "array",
"items": MediaRef.get_schema(), "items": MediaRef.get_schema(),
"title": _("Media")}, "title": _("Media")},
"srcattr_list": {"type": "array", "attribute_list": {"type": "array",
"items": SrcAttribute.get_schema(), "items": SrcAttribute.get_schema(),
"title": _("Source Attributes")}, "title": _("Source Attributes")},
"change": {"type": "integer", "change": {"type": "integer",

View File

@ -119,7 +119,7 @@ class Source(MediaBase, NoteBase, SrcAttributeBase, IndirectCitationBase,
"title": _("Abbreviation")}, "title": _("Abbreviation")},
"change": {"type": "integer", "change": {"type": "integer",
"title": _("Last changed")}, "title": _("Last changed")},
"srcattr_list": {"type": "array", "attribute_list": {"type": "array",
"items": SrcAttribute.get_schema(), "items": SrcAttribute.get_schema(),
"title": _("Source Attributes")}, "title": _("Source Attributes")},
"reporef_list": {"type": "array", "reporef_list": {"type": "array",