summaryrefslogtreecommitdiff
path: root/src/local/domain
diff options
context:
space:
mode:
authorgarbash <dor.garbash@gmail.com>2015-05-03 22:14:25 +0300
committergarbash <dor.garbash@gmail.com>2015-05-03 22:14:28 +0300
commit5cf0db2f06bb8527869dc5834b5d807d16036aa0 (patch)
tree8c641a374365e2ca3c107183f33149dd0128a733 /src/local/domain
parentad3887f785ada0c389ee3d29b49f17dcef16f28a (diff)
Update r2 schema
Diffstat (limited to 'src/local/domain')
-rw-r--r--src/local/domain/r2.tami.org.il/domain_types.js54
1 files changed, 54 insertions, 0 deletions
diff --git a/src/local/domain/r2.tami.org.il/domain_types.js b/src/local/domain/r2.tami.org.il/domain_types.js
new file mode 100644
index 00000000..f29adf1c
--- /dev/null
+++ b/src/local/domain/r2.tami.org.il/domain_types.js
@@ -0,0 +1,54 @@
+define({
+ type_attributes: [
+ ['person', {
+ 'title': 'Collaborator',
+ 'attributes': ['affiliation',
+ 'description',
+ 'email',
+ 'image-url',
+ 'name',
+ 'url'
+ ],
+ }],
+ ['keyword', {
+ 'title': 'Task',
+ 'attributes': ['description', 'url', 'image-url'],
+ }],
+ ['project', {
+ 'title': 'Feature',
+ 'attributes': ['description', 'url', 'rhizi-url', 'image-url'],
+ }],
+ ['idea', {
+ 'title': 'Idea',
+ 'attributes': ['description', 'url', 'image-url'],
+ }],
+ ['skill', {
+ 'title': 'Oragnisation',
+ 'attributes': ['description', 'url', 'image-url'],
+ }],
+ ['resource', {
+ 'title': 'Resource',
+ 'attributes': ['description', 'url', 'image-url'],
+ }]
+ ],
+ attribute_titles: {
+ 'affiliation': 'Affiliation',
+ 'description': 'Description',
+ 'email': 'Email',
+ 'name': 'Name',
+ 'type': 'Type',
+ 'url': 'URL',
+ 'image-url': 'Image URL',
+ 'rhizi-url': 'Rhizi URL',
+ },
+ attribute_ui: {
+ 'affiliation': 'textarea',
+ 'description': 'textarea',
+ 'email': 'input',
+ 'name': 'input',
+ 'type': 'type',
+ 'image-url': 'image',
+ 'url': 'url',
+ 'rhizi-url': 'rhizi-url',
+ },
+});