From 08a628d247ef109acb7c60e20f81473ec630eed7 Mon Sep 17 00:00:00 2001 From: LV-426 Date: Mon, 6 Apr 2015 16:39:53 +0300 Subject: wip: commons-congress types.js --- .../domain/commons-congress_2015/domain_types.js | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 src/local/domain/commons-congress_2015/domain_types.js (limited to 'src') diff --git a/src/local/domain/commons-congress_2015/domain_types.js b/src/local/domain/commons-congress_2015/domain_types.js new file mode 100644 index 00000000..3cde7f18 --- /dev/null +++ b/src/local/domain/commons-congress_2015/domain_types.js @@ -0,0 +1,44 @@ +define({ + type_attributes: { + 'keyword': { + 'title': 'Keyword', + 'attributes': ['description', 'url'], + }, + 'person': { + 'title': 'Person', + 'attributes': ['affiliation', + 'street-address', + 'description', + 'email', + 'image-URL', + 'name', + 'url' + ], + }, + 'project': { + 'title': 'Project', + 'attributes': ['description', 'url'], + }, + 'project_component': { + 'title': 'Project Component', + 'attributes': ['description', 'url'], + }, + 'objective': { + 'title': 'Objective', + 'attributes': ['description', 'url'], + }, + 'outcome': { + 'title': 'Objective', + 'attributes': ['description', 'url'], + } + }, + attribute_titles: { + 'affiliation': 'Affiliation', + 'description': 'Description', + 'email': 'Email', + 'image-URL': 'Image URL', + 'name': 'Name', + 'url': 'URL', + 'street-address': 'Street Address', + } +}); \ No newline at end of file -- cgit v1.3.1