diff --git a/superdesk/metadata/item.py b/superdesk/metadata/item.py index 703bf984c7..3713404fe3 100644 --- a/superdesk/metadata/item.py +++ b/superdesk/metadata/item.py @@ -220,7 +220,12 @@ class Formats(NamedTuple): }, "subject": { "type": "list", - "mapping": {"type": "object", "dynamic": False, "properties": {"qcode": not_analyzed, "name": not_analyzed}}, + "mapping": { + "type": "nested", + "include_in_parent": True, + "dynamic": False, + "properties": {"qcode": not_analyzed, "name": not_analyzed, "scheme": not_analyzed}, + }, }, "genre": { "type": "list",