Fix source attribute lists in schema
This commit is contained in:
parent
d275b3f7a3
commit
d6ca3cf527
@ -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",
|
||||||
|
@ -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",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user