forked from ckan/ckanext-scheming
-
Notifications
You must be signed in to change notification settings - Fork 0
/
group_with_bookface.json
39 lines (39 loc) · 1.08 KB
/
group_with_bookface.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
"scheming_version": 1,
"group_type": "group",
"about_url": "http://github.com/ckan/ckanext-scheming",
"fields": [
{
"field_name": "title",
"label": "Name",
"validators": "ignore_missing unicode_safe",
"form_snippet": "large_text.html",
"form_attrs": {"data-module": "slug-preview-target"},
"form_placeholder": "My Organization"
},
{
"field_name": "name",
"label": "URL",
"validators": "not_empty unicode_safe name_validator group_name_validator",
"form_snippet": "slug.html",
"form_placeholder": "my-organization"
},
{
"field_name": "notes",
"label": "Description",
"form_snippet": "markdown.html",
"form_placeholder": "A little information about my organization..."
},
{
"field_name": "url",
"label": "Image URL",
"form_placeholder": "http://example.com/my-image.jpg"
},
{
"field_name": "bookface",
"label": "Bookface",
"form_placeholder": "http://bookface.example.com/ourgroup",
"output_validators": "ignore_missing"
}
]
}