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,9 +120,9 @@ class Citation(MediaBase, NoteBase, SrcAttributeBase, IndirectCitationBase,
"media_list": {"type": "array",
"items": MediaRef.get_schema(),
"title": _("Media")},
"srcattr_list": {"type": "array",
"items": SrcAttribute.get_schema(),
"title": _("Source Attributes")},
"attribute_list": {"type": "array",
"items": SrcAttribute.get_schema(),
"title": _("Source Attributes")},
"change": {"type": "integer",
"title": _("Last changed")},
"tag_list": {"type": "array",

View File

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