Add license types and notes to asset node_type
This commit is contained in:
@@ -39,12 +39,29 @@ node_type_asset = {
|
|||||||
# this schema: "Root > Nested Category > One More Nested Category"
|
# this schema: "Root > Nested Category > One More Nested Category"
|
||||||
'categories': {
|
'categories': {
|
||||||
'type': 'string'
|
'type': 'string'
|
||||||
}
|
},
|
||||||
|
'license_type': {
|
||||||
|
'default': 'cc-by',
|
||||||
|
'type': 'string',
|
||||||
|
'allowed': [
|
||||||
|
'cc-by',
|
||||||
|
'cc-0',
|
||||||
|
'cc-by-sa',
|
||||||
|
'cc-by-nd',
|
||||||
|
'cc-by-nc',
|
||||||
|
'copyright'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
'license_notes': {
|
||||||
|
'type': 'string'
|
||||||
|
},
|
||||||
},
|
},
|
||||||
'form_schema': {
|
'form_schema': {
|
||||||
'content_type': {'visible': False},
|
'content_type': {'visible': False},
|
||||||
'order': {'visible': False},
|
'order': {'visible': False},
|
||||||
'tags': {'visible': False},
|
'tags': {'visible': False},
|
||||||
'categories': {'visible': False}
|
'categories': {'visible': False},
|
||||||
|
'license_type': {'visible': False},
|
||||||
|
'license_notes': {'visible': False},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user