{
	"ns": "webr.ns",
	"propertyRules": "rules.xpd",
	"idProperty": "__cid__",
	"defaultLanguage": "en",
	"labelWidth": 160,
	"iconPath": "/system/images/icons/16x16",
	"properties": {
		"token": {
			"type": "number",
			"dbType": "integer",
			"length": 5,
			"from": {
				"dmd": "webshop.dmd",
				"entity": "WSHPLBET00",
				"field": "PLBPLBTKN"
			},
			"readonly": true,
			"title": "property_token_title",
			"groups": [
				"system"
			]
		},
		"erptoken": {
			"type": "varchar",
			"dbType": "varchar(128)",
			"length": 128,
			"from": {
				"dmd": "webshop.dmd",
				"entity": "WSHPLBET00",
				"field": "PLBERPTKN"
			},
			"title": "property_erptoken_title",
			"groups": [
				"system"
			]
		},
		"title": {
			"type": "i18n",
			"dbType": "varchar(128)",
			"length": 128,
			"from": {
				"dmd": "webshop.dmd",
				"entity": "WSHPLBET00",
				"field": "PLBTITLE"
			},
			"title": "property_title_title",
			"asString": true,
			"groups": [
				"information"
			]
		},
		"type": {
			"type": "picker",
			"dbType": "varchar(128)",
			"length": 128,
			"from": {
				"dmd": "webshop.dmd",
				"entity": "WSHPLBET00",
				"field": "PLBTYPE"
			},
			"required": true,
			"forceSelection": true,
			"enum": "productlabel",
			"filter": true,
			"preprocess": [
				{
					"regexp": "^",
					"replace": "webr~productlabel~"
				}
			],
			"postprocess": [
				{
					"search": "webr~productlabel~",
					"replace": ""
				}
			],
			"title": "property_type_title",
			"groups": [
				"information"
			]
		},
		"link": {
			"type": "entitypicker",
			"dbType": "varchar(512)",
			"length": 512,
			"dmd": {
				"file": "webshop.dmd",
				"entity": "WSHPAGET00"
			},
			"from": {
				"dmd": "webshop.dmd",
				"entity": "WSHPLBET00",
				"field": "PLBLINK"
			},
			"title": "property_link_title",
			"groups": [
				"information"
			]
		},
		"image": {
			"type": "imageuploadpicker",
			"dbType": "varchar(256)",
			"length": 256,
			"path": "/images/productlabel",
			"from": {
				"dmd": "webshop.dmd",
				"entity": "WSHPLBET00",
				"field": "PLBIMG"
			},
			"title": "property_image_title",
			"groups": [
				"information"
			]
		},
		"description": {
			"type": "i18n",
			"dbType": "varchar(512)",
			"length": 512,
			"from": {
				"dmd": "webshop.dmd",
				"entity": "WSHPLBET00",
				"field": "PLBDESC"
			},
			"asString": true,
			"title": "property_description_title",
			"groups": [
				"information"
			]
		}
	},
	"collections": {
		"productlabel": {
			"title": "collection_productlabel_title",
			"id": 1,
			"properties": {}
		}
	},
	"groups": {
		"system": {
			"title": "group_system_title",
			"index": 100,
			"renderIn": {
				"editor": {
					"sequence": 100
				}
			}
		},
		"information": {
			"title": "group_information_title",
			"index": 200,
			"renderIn": {
				"editor": {
					"sequence": 200
				}
			}
		}
	},
	"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": 700,
				"minWidth": 300
			},
			"token": {
				"sequence": 100,
				"width": 300
			},
			"erptoken": {
				"sequence": 200,
				"width": 300
			},
			"title": {
				"sequence": 300
			},
			"description": {
				"sequence": 400
			},
			"type": {
				"sequence": 500
			},
			"image": {
				"sequence": 600
			},
			"link": {
				"sequence": 700
			}
		},
		"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_productlabel_title": "Produktmærke",
				"group_system_title": "System",
				"group_information_title": "Informationer",
				"property_token_title": "ID",
				"property_title_title": "Navn",
				"property_type_title": "Type",
				"property_erptoken_title": "ERP kode",
				"property_link_title": "Link",
				"property_image_title": "Billede",
				"property_description_title": "Beskrivelse"
			}
		},
		"en": {
			"text": {
				"environment_editor_title": "Editor Environment",
				"environment_folderorganizer_title": "Folderorganizer environment",
				"environment_menuorganizer_title": "Menuorganizer environment",
				"collection_productlabel_title": "Product Label",
				"group_system_title": "System",
				"group_information_title": "Information",
				"property_token_title": "ID",
				"property_title_title": "Name",
				"property_type_title": "Type",
				"property_erptoken_title": "ERP Code",
				"property_link_title": "Link",
				"property_image_title": "Image",
				"property_description_title": "Description"
			}
		}
	}
}
