forked from ckan/ckanext-scheming
-
Notifications
You must be signed in to change notification settings - Fork 0
/
org_with_dept_id.json
38 lines (38 loc) · 1.04 KB
/
org_with_dept_id.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": "organization",
"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": "department_id",
"label": "Department ID",
"form_placeholder": "e.g. 1042"
}
]
}