{
	"ns": "webr.ns",
	"propertyRules": "rules.xpd",
	"idProperty": "__cid__",
	"defaultLanguage": "en",
	"labelWidth": 160,
	"iconPath": "/system/images/icons/16x16",
	"properties": {
		"__cid__": {
			"title": "property_cid_title",
			"dbType": "integer",
			"length": 5,
			"private": true
		},
		"name": {
			"title": "property_name_title",
			"dbType": "varchar(256)",
			"length": 256,
			"private": true
		},
		"seq": {
			"title": "property_seq_title",
			"private": true,
			"dbType": "dec(2 , 8)",
			"length": 11
		}
	},
	"collections": {
		"manufacturer": {
			"id": 1,
			"title": "collection_manufacturer_title",
			"allowedparents": [
				1
			],
			"allowedchilds": [
				1
			],
			"icon": "factory.png",
			"organizer": {
				"column": {
					"index": 1,
					"cidColumn": true
				}
			},
			"properties": {
				"name": {
					"title": "property_name_title",
					"type": "i18n",
					"isTitle": true,
					"dbType": "varchar(64)",
					"length": 64,
					"groups": [
						"manufacturer"
					]
				},
				"image": {
					"title": "property_image_title",
					"type": "imageuploadpicker",
					"dbType": "varchar(256)",
					"length": 256,
					"path": "/images/manufacturer",
					"groups": [
						"manufacturer"
					],
					"placeholder": "property_image_placeholder"
				},
				"seq": {
					"title": "property_seq_title",
					"type": "number",
					"hidden": true,
					"dbType": "dec(2 , 8)",
					"length": 11,
					"groups": [
						"manufacturer"
					]
				}
			}
		},
		"contactperson": {
			"id": 2,
			"title": "collection_contactperson_title",
			"allowedparents": [
				3
			],
			"allowedchilds": [],
			"icon": "user1.png",
			"organizer": {
				"allowCreation": true,
				"copyOriginalWhenDropped": true,
				"prompt": {
					"removeRow": true,
					"copyOriginal": true
				}
			},
			"dmd": "webshop.dmd",
			"entity": "WSHNAMET00",
			"propertyFieldName": "NAMPROP",
			"properties": {
				"name": {
					"title": "property_name_title",
					"type": "i18n",
					"dbType": "varchar(64)",
					"length": 64,
					"isTitle": true,
					"groups": [
						"contactperson"
					]
				},
				"title": {
					"title": "property_title_title",
					"type": "i18n",
					"dbType": "varchar(64)",
					"length": 64,
					"groups": [
						"contactperson"
					]
				},
				"phone": {
					"title": "property_phone_title",
					"type": "varchar",
					"dbType": "varchar(64)",
					"length": 64,
					"groups": [
						"contactperson"
					]
				},
				"mobile": {
					"title": "property_mobile_title",
					"type": "varchar",
					"dbType": "varchar(64)",
					"length": 64,
					"groups": [
						"contactperson"
					]
				},
				"email": {
					"title": "property_email_title",
					"type": "varchar",
					"dbType": "varchar(64)",
					"length": 64,
					"vtype": "email",
					"groups": [
						"contactperson"
					]
				},
				"linkedin": {
					"title": "property_linkedin_title",
					"type": "varchar",
					"dbType": "varchar(64)",
					"length": 64,
					"groups": [
						"contactperson"
					]
				},
				"image": {
					"title": "property_image_title",
					"type": "imageuploadpicker",
					"dbType": "varchar(128)",
					"length": 128,
					"path": "/images/contactperson",
					"placeholder": "property_image_placeholder",
					"groups": [
						"contactperson"
					]
				},
				"seq": {
					"title": "property_seq_title",
					"type": "number",
					"hidden": true,
					"dbType": "dec(2 , 8)",
					"length": 11,
					"groups": [
						"contactperson"
					]
				}
			}
		},
		"branch": {
			"id": 3,
			"title": "collection_branch_title",
			"allowedparents": [
				3
			],
			"allowedchilds": [
				2,
				3
			],
			"icon": "house.png",
			"organizer": {
				"prompt": {
					"removeChildren": true
				}
			},
			"properties": {
				"name": {
					"title": "property_name_title",
					"type": "i18n",
					"dbType": "varchar(64)",
					"length": 64,
					"isTitle": true,
					"groups": [
						"branch"
					]
				},
				"address": {
					"title": "property_address_title",
					"type": "varchar",
					"dbType": "varchar(64)",
					"length": 64,
					"groups": [
						"branch"
					]
				},
				"zipcode": {
					"title": "property_zipcode_title",
					"type": "varchar",
					"dbType": "varchar(64)",
					"length": 64,
					"groups": [
						"branch"
					]
				},
				"city": {
					"title": "property_city_title",
					"type": "varchar",
					"dbType": "varchar(64)",
					"length": 64,
					"groups": [
						"branch"
					]
				},
				"country": {
					"title": "property_country_title",
					"type": "varchar",
					"dbType": "varchar(64)",
					"length": 64,
					"groups": [
						"branch"
					]
				},
				"phone": {
					"title": "property_phone_title",
					"type": "varchar",
					"dbType": "varchar(64)",
					"length": 64,
					"groups": [
						"branch"
					]
				},
				"fax": {
					"title": "property_fax_title",
					"type": "varchar",
					"dbType": "varchar(64)",
					"length": 64,
					"groups": [
						"branch"
					]
				},
				"email": {
					"title": "property_email_title",
					"type": "varchar",
					"dbType": "varchar(64)",
					"length": 64,
					"vtype": "email",
					"groups": [
						"branch"
					]
				},
				"cvr": {
					"title": "property_cvr_title",
					"type": "varchar",
					"dbType": "varchar(64)",
					"length": 64,
					"groups": [
						"branch"
					]
				},
				"mainoffice": {
					"title": "property_mainoffice_title",
					"type": "boolean",
					"dbType": "char(5)",
					"length": 5,
					"boxlabel": "property_mainoffice_boxlabel",
					"groups": [
						"branch"
					]
				},
				"showMap": {
					"title": "property_showmap_title",
					"type": "boolean",
					"dbType": "char(5)",
					"length": 5,
					"groups": [
						"branch"
					]
				},
				"footeritem": {
					"title": "property_footeritem_title",
					"type": "boolean",
					"dbType": "char(5)",
					"length": 5,
					"boxlabel": "property_footeritem_boxlabel",
					"groups": [
						"branch"
					]
				},
				"seq": {
					"title": "property_seq_title",
					"type": "number",
					"hidden": true,
					"dbType": "dec(2 , 8)",
					"length": 11,
					"groups": [
						"branch"
					]
				},
				"readmoreLink": {
					"type": "entitypicker",
					"dbType": "integer",
					"length": 5,
					"dmd": {
						"file": "webshop.dmd",
						"entity": "WSHPAGET00"
					},
					"preview": {
						"entity": "WSHPAGET00",
						"src": "http://{0}/{1}/page/{2}",
						"title": {
							"da": "side",
							"en": "page"
						}
					},
					"title": "property_additionaltext_title",
					"placeholder": "property_additionaltext_placeholder",
					"groups": [
						"text"
					]
				},
				"text": {
					"title": "property_text_title",
					"type": "markdowneditor",
					"dbType": "varchar(4096)",
					"length": 4096,
					"actions": [
						"h5",
						"bold",
						"italic",
						"link",
						"quote",
						"image",
						"olist",
						"ulist"
					],
					"output": "html",
					"required": false,
					"textareaConfig": {
						"rows": 10,
						"grow": true,
						"growMax": 300
					},
					"groups": [
						"text"
					]
				}
			}
		}
	},
	"groups": {
		"manufacturer": {
			"title": "group_manufacturer_title",
			"index": 100,
			"renderIn": {
				"editor": {
					"layout": {
						"sequence": 100
					}
				},
				"folderorganizer": {}
			}
		},
		"contactperson": {
			"title": "group_contactperson_title",
			"index": 100,
			"renderIn": {
				"editor": {
					"layout": {
						"sequence": 100
					}
				},
				"folderorganizer": {
					"layout": {
						"sequence": 100
					}
				}
			}
		},
		"branch": {
			"title": "group_branch_title",
			"index": 100,
			"renderIn": {
				"editor": {
					"layout": {
						"sequence": 100
					}
				},
				"folderorganizer": {
					"layout": {
						"sequence": 100
					}
				}
			}
		},
		"text": {
			"title": "group_text_title",
			"index": 200,
			"renderIn": {
				"editor": {
					"layout": {
						"sequence": 200
					}
				},
				"folderorganizer": {
					"layout": {
						"sequence": 200
					}
				}
			}
		}
	},
	"environments": {
		"editor": {
			"title": "editor environment"
		},
		"folderorganizer": {
			"title": "folder environment"
		},
		"folderWindow": {
			"title": "environment_folderwindow_title"
		},
		"menuorganizer": {
			"title": "environment_menuorganizer_title"
		}
	},
	"layout": {
		"editor": {
			"__default__": {
				"width": 600,
				"minWidth": 300
			},
			"name": {
				"sequence": 10
			},
			"title": {
				"sequence": 20
			},
			"address": {
				"sequence": 30
			},
			"zipcode": {
				"sequence": 40
			},
			"city": {
				"sequence": 50
			},
			"country": {
				"sequence": 60
			},
			"phone": {
				"sequence": 70
			},
			"mobile": {
				"sequence": 80
			},
			"fax": {
				"sequence": 90
			},
			"email": {
				"sequence": 100
			},
			"cvr": {
				"sequence": 110
			},
			"linkedin": {
				"sequence": 120
			},
			"mainoffice": {
				"sequence": 130
			},
			"showMap": {
				"sequence": 135
			},
			"footeritem": {
				"sequence": 140
			},
			"image": {
				"sequence": 150
			},
			"text": {
				"sequence": 160
			},
			"readmoreLink": {
				"sequence": 170
			}
		},
		"folderorganizer": {
			"__default__": {
				"width": "100%",
				"minWidth": 300
			},
			"name": {
				"sequence": 10
			},
			"title": {
				"sequence": 20
			},
			"address": {
				"sequence": 30
			},
			"zipcode": {
				"sequence": 40
			},
			"city": {
				"sequence": 50
			},
			"country": {
				"sequence": 60
			},
			"phone": {
				"sequence": 70
			},
			"mobile": {
				"sequence": 80
			},
			"fax": {
				"sequence": 90
			},
			"email": {
				"sequence": 100
			},
			"cvr": {
				"sequence": 110
			},
			"linkedin": {
				"sequence": 120
			},
			"image": {
				"sequence": 130
			},
			"mainoffice": {
				"sequence": 130
			},
			"showMap": {
				"sequence": 135
			},
			"footeritem": {
				"sequence": 140
			},
			"text": {
				"sequence": 150
			},
			"seq": {
				"sequence": 160
			},
			"readmoreLink": {
				"sequence": 170
			}
		},
		"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_manufacturer_title": "Producent",
				"collection_contactperson_title": "Person",
				"collection_branch_title": "Afdeling",
				"group_manufacturer_title": "Producent",
				"group_contactperson_title": "Person",
				"group_branch_title": "Afdeling",
				"group_text_title": "Tekst",
				"property_name_title": "Navn",
				"property_seq_title": "Sekvens",
				"property_image_title": "Logo",
				"property_image_placeholder": "Indtast en billedsti (URL) eller vælg fra nedenstående",
				"property_title_title": "Titel",
				"property_phone_title": "Telefon",
				"property_mobile_title": "Mobil",
				"property_email_title": "E-mail",
				"property_linkedin_title": "LinkedIn",
				"property_address_title": "Adresse",
				"property_zipcode_title": "Postnr.",
				"property_city_title": "By",
				"property_country_title": "Land",
				"property_fax_title": "Fax",
				"property_cvr_title": "Cvr",
				"property_text_title": "Tekst",
				"property_additionaltext_title": "Link til side",
				"property_additionaltext_placeholder": "Link evt. til side med yderligere tekst",
				"property_mainoffice_title": "Hovedkontor",
				"property_mainoffice_boxlabel": "Angiver om denne afdeling er hovedkontor",
				"property_footeritem_title": "Vises i footer",
				"property_footeritem_boxlabel": "Angiver om denne afdeling skal vises i footeren",
				"property_showmap_title": "Vis kort"
			}
		},
		"en": {
			"text": {
				"environment_editor_title": "Editor environment",
				"environment_folderorganizer_title": "Folderorganizer environment",
				"environment_menuorganizer_title": "Menuorganizer environment",
				"collection_manufacturer_title": "Manufacturer",
				"collection_contactperson_title": "Person",
				"collection_branch_title": "Branch",
				"group_manufacturer_title": "Manufacturer",
				"group_contactperson_title": "Person",
				"group_branch_title": "Office",
				"group_text_title": "Text",
				"property_name_title": "Name",
				"property_seq_title": "Sequence",
				"property_image_title": "Logo",
				"property_image_placeholder": "Enter image path (URL) or select from below",
				"property_title_title": "Title",
				"property_phone_title": "Phone",
				"property_mobile_title": "Mobile",
				"property_email_title": "Email",
				"property_linkedin_title": "LinkedIn",
				"property_address_title": "Address",
				"property_zipcode_title": "ZIP code",
				"property_city_title": "City",
				"property_country_title": "Country",
				"property_fax_title": "Fax",
				"property_cvr_title": "VAT number",
				"property_text_title": "Text",
				"property_additionaltext_title": "Link to page",
				"property_additionaltext_placeholder": "If necessary link to page with additional information",
				"property_mainoffice_title": "Main office",
				"property_mainoffice_boxlabel": "Mark, if this office is a main office",
				"property_footeritem_title": "Shown in footer",
				"property_footeritem_boxlabel": "Mark, if this office is shown in the footer",
				"property_showmap_title": "Show map"
			}
		}
	}
}
