{
	"ns": "webr.ns",
	"propertyRules": "rules.xpd",
	"idProperty": "__cid__",
	"defaultLanguage": "en",
	"labelWidth": 160,
	"iconPath": "/system/images/icons/16x16",
	"properties": {
		"buttontext": {
			"type": "i18n",
			"title": "property_buttontext_title",
			"groups": [
				"system"
			]
		},
		"behaviour": {
			"title": "property_behaviour_title",
			"type": "enum",
			"enum": "call2action_behaviours",
			"value": "success",
			"preprocess": [
				{
					"regexp": "^",
					"replace": "webr~call2action_behaviours~"
				}
			],
			"postprocess": [
				{
					"search": "webr~call2action_behaviours~",
					"replace": ""
				}
			],
			"groups": [
				"system"
			]
		},
		"target": {
			"title": "property_target_title",
			"type": "enum",
			"enum": "call2action_targets",
			"value": "parent",
			"preprocess": [
				{
					"regexp": "^",
					"replace": "webr~call2action_targets~"
				}
			],
			"postprocess": [
				{
					"search": "webr~call2action_targets~",
					"replace": ""
				}
			],
			"groups": [
				"system"
			]
		},
		"size": {
			"type": "enum",
			"groups": [
				"system"
			],
			"value": "sm",
			"title": "property_size_title",
			"enum": "call2action_buttonsizes",
			"preprocess": [
				{
					"regexp": "^",
					"replace": "webr~call2action_buttonsizes~"
				}
			],
			"postprocess": [
				{
					"search": "webr~call2action_buttonsizes~",
					"replace": ""
				}
			]
		},
		"show_icon": {
			"type": "boolean",
			"dbType": "smallint",
			"title": "property_show_icon_title",
			"groups": [
				"system"
			]
		},
		"icon": {
			"title": "property_icon_title",
			"type": "enum",
			"enum": "navicon",
			"value": "none",
			"preprocess": [
				{
					"regexp": "^",
					"replace": "webr~navicon~"
				}
			],
			"postprocess": [
				{
					"search": "webr~navicon~",
					"replace": ""
				}
			],
			"groups": [
				"system"
			],
			"dependsOn": [
				{
					"field": "show_icon",
					"equal": true
				}
			]
		}
	},
	"collections": {
		"general": {
			"id": 1,
			"properties": {}
		}
	},
	"groups": {},
	"environments": {
		"editor": {
			"title": "environment_editor_title"
		},
		"folderorganizer": {
			"title": "environment_folderorganizer_title"
		},
		"folderWindow": {
			"title": "environment_folderwindow_title"
		},
		"menuorganizer": {
			"title": "environment_menuorganizer_title"
		}
	},
	"layout": {
		"editor": {
			"__default__": {
				"width": "100%",
				"minWidth": 300
			}
		},
		"folderorganizer": {
			"__default__": {
				"width": "100%",
				"minWidth": 300
			}
		},
		"menuorganizer": {
			"__default__": {
				"width": "100%",
				"minWidth": 300
			}
		}
	},
	"language": {
		"da": {
			"text": {
				"environment_editor_title": "Editor miljø",
				"environment_folderorganizer_title": "Folderorganizer miljø",
				"environment_menuorganizer_title": "Menuorganizer miljø",
				"property_buttontext_title": "Tekst",
				"property_behaviour_title": "Design",
				"property_target_title": "Åben indhold i",
				"property_size_title": "Størrelse",
				"property_show_icon_title": "Vis Ikon",
				"property_icon_title": "Ikon"
			}
		},
		"en": {
			"text": {
				"environment_editor_title": "Editor environment",
				"environment_folderorganizer_title": "Folderorganizer environment",
				"environment_menuorganizer_title": "Menuorganizer environment",
				"property_buttontext_title": "Text",
				"property_behaviour_title": "Design",
				"property_target_title": "Open contents in",
				"property_size_title": "Size",
				"property_show_icon_title": "Show icon",
				"property_icon_title": "Icon"
			}
		}
	}
}
