diff --git a/pillar/manage/node_types/asset.py b/pillar/manage/node_types/asset.py index 473e5fa0..50266de9 100644 --- a/pillar/manage/node_types/asset.py +++ b/pillar/manage/node_types/asset.py @@ -49,6 +49,18 @@ node_type_asset = { } } } + }, + # Tags for search + 'tags': { + 'type': 'list', + 'schema': { + 'type': 'string' + } + }, + # Simple string to represent hierarchical categories. Should follow + # this schema: "Root > Nested Category > One More Nested Category" + 'categories': { + 'type': 'string' } }, 'form_schema': { @@ -56,7 +68,9 @@ node_type_asset = { 'content_type': {'visible': False}, 'file': {'visible': False}, 'attachments': {'visible': False}, - 'order': {} + 'order': {}, + 'tags' : {}, + 'categories': {} }, 'permissions': { # 'groups': [{