{
	"ns": "webr.ns",
	"propertyRules": "rules.xpd",
	"idProperty": "__cid__",
	"defaultLanguage": "en",
	"labelWidth": 160,
	"iconPath": "/system/images/icons/16x16",
	"properties": {},
	"collections": {
		"language": {
			"id": 1,
			"title": "collection_language_title",
			"properties": {
				"token": {
					"type": "display",
					"dbType": "integer",
					"length": 5,
					"groups": [
						"system"
					],
					"from": {
						"dmd": "webshop.dmd",
						"entity": "WSHLNGET00",
						"field": "LNGLNGTKN"
					},
					"title": "property_token_title"
				},
				"code": {
					"type": "picker",
					"dbType": "varchar(16)",
					"length": 16,
					"groups": [
						"system"
					],
					"required": true,
					"from": {
						"dmd": "webshop.dmd",
						"entity": "WSHLNGET00",
						"field": "LNGCODE"
					},
					"enum": "languages",
					"preprocess": [
						{
							"regexp": "^",
							"replace": "webr~languages~"
						}
					],
					"postprocess": [
						{
							"search": "webr~languages~",
							"replace": ""
						}
					],
					"title": "property_code_title"
				},
				"primary": {
					"type": "boolean",
					"dbType": "char(5)",
					"length": 5,
					"groups": [
						"system"
					],
					"from": {
						"dmd": "webshop.dmd",
						"entity": "WSHLNGET00",
						"field": "LNGPRIMARY"
					},
					"title": "property_primary_title",
					"boxlabel": "property_primary_boxlabel"
				}
			}
		}
	},
	"groups": {
		"system": {
			"title": "group_system_title",
			"index": 100,
			"renderIn": {
				"editor": {
					"sequence": 100
				}
			}
		}
	},
	"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": 600,
				"minWidth": 200
			},
			"token": {
				"sequence": 100,
				"width": 300
			},
			"code": {
				"sequence": 200,
				"width": 450
			},
			"primary": {
				"sequence": 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ø",
				"collection_language_title": "Sprog",
				"group_system_title": "System",
				"property_token_title": "ID",
				"property_code_title": "Sprog",
				"property_primary_title": "Primært sprog",
				"property_primary_boxlabel": "Klik her hvis dette er din webshops primære sprog"
			}
		},
		"en": {
			"text": {
				"environment_editor_title": "Editor Environment",
				"environment_folderorganizer_title": "Folderorganizer environment",
				"environment_menuorganizer_title": "Menuorganizer environment",
				"collection_language_title": "Language",
				"group_system_title": "System",
				"property_token_title": "ID",
				"property_code_title": "Language",
				"property_primary_title": "Primary Language",
				"property_primary_boxlabel": "Check here if this is the primary language of your webshop"
			}
		}
	}
}
