{
	"ns": "webr.ns",
	"propertyRules": "rules.xpd",
	"idProperty": "__cid__",
	"defaultLanguage": "en",
	"labelWidth": 160,
	"iconPath": "/system/images/icons/16x16",
	"properties": {
		"token": {
			"title": "property_token_title",
			"type": "display",
			"dbType": "integer",
			"length": 5,
			"groups": [
				"system"
			],
			"from": {
				"dmd": "webshop.dmd",
				"entity": "WSHCRPET00",
				"field": "CRPCRPTKN"
			}
		},
		"title": {
			"type": "i18n",
			"dbType": "varchar(256)",
			"length": 256,
			"groups": [
				"system"
			],
			"title": "property_title_title",
			"placeholder": "property_title_placeholder"
		},
		"courier": {
			"type": "entitypicker",
			"dbType": "varchar(64)",
			"length": 256,
			"dmd": {
				"file": "webshop.dmd",
				"entity": "WSHCURET00",
				"view": "comboText"
			},
			"from": {
				"dmd": "webshop.dmd",
				"entity": "WSHCRPET00",
				"field": "CRPCURTKN"
			},
			"required": true,
			"groups": [
				"information"
			],
			"title": "property_courier_title",
			"placeholder": "property_courier_placeholder"
		},
		"description": {
			"type": "i18n",
			"dbType": "varchar(4096)",
			"length": 4096,
			"groups": [
				"information"
			],
			"title": "property_description_title",
			"placeholder": "property_description_placeholder"
		},
		"currency": {
			"type": "picker",
			"dbType": "varchar(16)",
			"length": 16,
			"groups": [
				"prices"
			],
			"enum": "currency",
			"preprocess": [
				{
					"regexp": "(^webr~currency~|^)",
					"replace": "webr~currency~"
				}
			],
			"postprocess": [
				{
					"search": "webr~currency~",
					"replace": ""
				}
			],
			"title": "property_currency_title",
			"labelsuffix": "property_currency_labelsuffix",
			"value": "DKK"
		},
		"weight": {
			"type": "number",
			"dbType": "dec(5,2)",
			"length": 8,
			"groups": [
				"prices"
			],
			"title": "property_weight_title",
			"labelsuffix": "property_weight_labelsuffix"
		},
		"price": {
			"type": "number",
			"dbType": "dec(8,2)",
			"length": 11,
			"groups": [
				"prices"
			],
			"title": "property_price_title",
			"labelsuffix": "property_price_labelsuffix"
		},
		"fee": {
			"type": "number",
			"dbType": "dec(8,2)",
			"length": 11,
			"groups": [
				"prices"
			],
			"title": "property_fee_title",
			"labelsuffix": "property_fee_labelsuffix"
		},
		"freecharge": {
			"type": "number",
			"dbType": "integer",
			"length": 16,
			"groups": [
				"prices"
			],
			"title": "property_freecharge_title",
			"labelsuffix": "property_freecharge_labelsuffix"
		}
	},
	"collections": {
		"courierprices": {
			"id": 1,
			"title": "collection_courierprices_title",
			"properties": {}
		}
	},
	"groups": {
		"system": {
			"title": "group_system_title",
			"renderIn": {
				"editor": {
					"layout": {
						"sequence": 100
					}
				}
			}
		},
		"information": {
			"title": "group_information_title",
			"renderIn": {
				"editor": {
					"layout": {
						"sequence": 200
					}
				}
			}
		},
		"prices": {
			"title": "group_prices_title",
			"renderIn": {
				"editor": {
					"layout": {
						"sequence": 300
					}
				}
			}
		}
	},
	"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": 300
			},
			"token": {
				"sequence": 100,
				"width": 300
			},
			"title": {
				"sequence": 200
			},
			"courier": {
				"sequence": 300,
				"width": 450
			},
			"description": {
				"sequence": 400
			},
			"currency": {
				"sequence": 450,
				"width": 300
			},
			"weight": {
				"sequence": 500,
				"width": 300
			},
			"price": {
				"sequence": 600,
				"width": 300
			},
			"fee": {
				"sequence": 700,
				"width": 300
			},
			"freecharge": {
				"sequence": 800,
				"width": 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_courierprices_title": "Transportør priser",
				"group_system_title": "System",
				"group_information_title": "Oplysninger",
				"group_prices_title": "Priser",
				"property_token_title": "ID",
				"property_title_title": "Intern beskrivelse",
				"property_title_placeholder": "En intern beskrivelse af transportøren",
				"property_courier_title": "Transportør",
				"property_courier_placeholder": "Vælg transportør",
				"property_description_title": "Beskrivelse",
				"property_description_placeholder": "Kort beskrivelse, bruges ved visning",
				"property_currency_title": "Valuta",
				"property_weight_title": "Højeste vægt",
				"property_weight_labelsuffix": "Kg",
				"property_price_title": "Fragtpris",
				"property_price_labelsuffix": "DKK",
				"property_fee_title": "Ekspeditionsgebyr",
				"property_fee_labelsuffix": "DKK",
				"property_freecharge_title": "Gratis for minimum",
				"property_freecharge_labelsuffix": "DKK"
			}
		},
		"en": {
			"text": {
				"environment_editor_title": "Editor Environment",
				"environment_folderorganizer_title": "Folderorganizer environment",
				"environment_menuorganizer_title": "Menuorganizer environment",
				"collection_courierprices_title": "Courier Prices",
				"group_system_title": "System",
				"group_information_title": "Information",
				"group_prices_title": "Prices",
				"property_token_title": "ID",
				"property_title_title": "Intern Description",
				"property_title_placeholder": "Intern description of the courier",
				"property_courier_title": "Courier",
				"property_courier_placeholder": "Choose Courier",
				"property_description_title": "Description",
				"property_description_placeholder": "A short description, used when viewing",
				"property_currency_title": "Currency",
				"property_weight_title": "Max. Weight",
				"property_weight_labelsuffix": "Kg",
				"property_price_title": "Freight price",
				"property_price_labelsuffix": "DKK",
				"property_fee_title": "Handling price",
				"property_fee_labelsuffix": "DKK",
				"property_freecharge_title": "Free of change minimum amount",
				"property_freecharge_labelsuffix": "DKK"
			}
		}
	}
}
