forked from ckan/ckanext-scheming
-
Notifications
You must be signed in to change notification settings - Fork 1
/
custom_org_with_address.json
38 lines (38 loc) · 1.01 KB
/
custom_org_with_address.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
{
"scheming_version": 1,
"organization_type": "publisher",
"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 theme"
},
{
"field_name": "name",
"label": "URL",
"validators": "not_empty unicode_safe name_validator group_name_validator",
"form_snippet": "slug.html",
"form_placeholder": "my-theme"
},
{
"field_name": "notes",
"label": "Description",
"form_snippet": "markdown.html",
"form_placeholder": "A little information about my group..."
},
{
"field_name": "url",
"label": "Image URL",
"form_placeholder": "http://example.com/my-image.jpg"
},
{
"field_name": "address",
"label": "Address",
"output_validators": "ignore_missing"
}
]
}