Fix source attribute lists in schema
This commit is contained in:
@@ -120,9 +120,9 @@ 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",
|
||||||
"title": _("Last changed")},
|
"title": _("Last changed")},
|
||||||
"tag_list": {"type": "array",
|
"tag_list": {"type": "array",
|
||||||
|
@@ -119,9 +119,9 @@ 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",
|
||||||
"items": RepoRef.get_schema(),
|
"items": RepoRef.get_schema(),
|
||||||
"title": _("Repositories")},
|
"title": _("Repositories")},
|
||||||
|
Reference in New Issue
Block a user