{
	"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": "WSHCURET00",
				"field": "CURCURTKN"
			}
		},
		"sequence": {
			"type": "number",
			"dbType": "integer",
			"length": 4,
			"title": "property_sequence_title",
			"groups": [
				"system"
			],
			"from": {
				"dmd": "webshop.dmd",
				"entity": "WSHCURET00",
				"field": "CURSEQ"
			}
		},
		"couriercode": {
			"type": "picker",
			"dbType": "varchar(64)",
			"length": 64,
			"title": "property_couriercode_title",
			"groups": [
				"information"
			],
			"placeholder": "property_couriercode_placeholder",
			"required": true,
			"from": {
				"dmd": "webshop.dmd",
				"entity": "WSHCURET00",
				"field": "CURCURCDE"
			},
			"enum": "couriers",
			"preprocess": [
				{
					"regexp": "^",
					"replace": "webr~couriers~"
				}
			],
			"postprocess": [
				{
					"search": "webr~couriers~",
					"replace": ""
				}
			],
			"validationFn": "ip2.validation.unique",
			"validationArgs": [
				"WSHCURET00",
				"CURCURCDE"
			]
		},
		"countrycode": {
			"type": "picker",
			"dbType": "varchar(64)",
			"length": 64,
			"required": true,
			"enum": "countries",
			"preprocess": [
				{
					"regexp": "^",
					"replace": "webr~countries~"
				}
			],
			"postprocess": [
				{
					"search": "webr~countries~",
					"replace": ""
				}
			],
			"from": {
				"dmd": "webshop.dmd",
				"entity": "WSHCURET00",
				"field": "CURCNTRY"
			},
			"groups": [
				"information"
			],
			"typeAhead": true,
			"forceSelection": true,
			"title": "property_countrycode_title",
			"placeholder": "property_countrycode_placeholder"
		},
		"title": {
			"type": "i18n",
			"dbType": "varchar(128)",
			"length": 128,
			"groups": [
				"information"
			],
			"title": "property_title_title",
			"placeholder": "property_title_placeholder",
			"from": {
				"dmd": "webshop.dmd",
				"entity": "WSHCURET00",
				"field": "CURNAME"
			}
		},
		"logo": {
			"type": "imageuploadpicker",
			"dbType": "varchar(256)",
			"length": 256,
			"path": "/images/courier",
			"groups": [
				"information"
			],
			"title": "property_logo_title",
			"placeholder": "property_logo_placeholder",
			"from": {
				"dmd": "webshop.dmd",
				"entity": "WSHCURET00",
				"field": "CURLOGO"
			}
		},
		"description": {
			"type": "i18n",
			"dbType": "varchar(140)",
			"length": 128,
			"groups": [
				"information"
			],
			"title": "property_description_title",
			"placeholder": "property_description_placeholder",
			"from": {
				"dmd": "webshop.dmd",
				"entity": "WSHCURET00",
				"field": "CURDESC"
			}
		}
	},
	"collections": {
		"courier": {
			"id": 1,
			"title": "collection_courier_title",
			"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": 600,
				"minWidth": 200
			},
			"token": {
				"sequence": 100,
				"width": 300
			},
			"sequence": {
				"sequence": 200,
				"width": 300
			},
			"couriercode": {
				"sequence": 300,
				"width": 450
			},
			"countrycode": {
				"sequence": 400,
				"width": 400
			},
			"title": {
				"sequence": 500
			},
			"header": {
				"sequence": 600
			},
			"description": {
				"sequence": 700
			},
			"logo": {
				"sequence": 800
			}
		},
		"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_courier_title": "Transportør",
				"group_system_title": "System",
				"group_information_title": "Informationer",
				"property_token_title": "ID",
				"property_sequence_title": "Sekvens",
				"property_title_title": "Navn",
				"property_title_placeholder": "Kort beskrivende navn",
				"property_description_title": "Beskrivelse",
				"property_description_placeholder": "Kort beskrivelse, bruges ved visning",
				"property_couriercode_title": "Transportør ID",
				"property_couriercode_placeholder": "F.eks. DHL eller GLS...",
				"property_logo_title": "Logo",
				"property_logo_placeholder": "Vælg, upload eller skriv stien til et billede her",
				"property_countrycode_title": "Land",
				"property_countrycode_placeholder": "Vælg et land at tilknytte denne transportør"
			}
		},
		"en": {
			"text": {
				"environment_editor_title": "Editor Environment",
				"environment_folderorganizer_title": "Folderorganizer environment",
				"environment_menuorganizer_title": "Menuorganizer environment",
				"collection_courier_title": "Courier",
				"group_system_title": "System",
				"group_information_title": "Information",
				"property_token_title": "ID",
				"property_sequence_title": "Sequence",
				"property_title_title": "Name",
				"property_title_placeholder": "Short descriptive name",
				"property_description_title": "Description",
				"property_description_placeholder": "A brief description is used when viewing",
				"property_couriercode_title": "Courier ID",
				"property_couriercode_placeholder": "Eg. DHL or GLS ...",
				"property_logo_title": "Logo",
				"property_logo_placeholder": "Select upload or enter the path to an image here",
				"property_countrycode_title": "Country",
				"property_countrycode_placeholder": "Choose a country to associate this transporter"
			}
		}
	}
}
