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