{
	"ns": "webr.ns",
	"propertyRules": "rules.xpd",
	"idProperty": "__cid__",
	"defaultLanguage": "en",
	"labelWidth": 160,
	"iconPath": "/system/images/icons/16x16",
	"properties": {},
	"collections": {
		"delivery": {
			"title": "collection_delivery_title",
			"id": 1,
			"properties": {
				"company": {
					"title": "property_company_title",
					"type": "varchar",
					"dbType": "varchar(64)",
					"length": 64,
					"required": true,
					"groups": [
						"delivery",
						"fdeliverytemplate"
					]
				},
				"vatno": {
					"title": "property_vatno_title",
					"type": "varchar",
					"dbType": "varchar(64)",
					"length": 64,
					"required": true,
					"groups": [
						"delivery"
					]
				},
				"fullname": {
					"title": "property_fullname_title",
					"type": "varchar",
					"dbType": "varchar(128)",
					"length": 128,
					"placeholder": "property_fullname_placeholder",
					"required": true,
					"groups": [
						"delivery",
						"fdelivery",
						"fdeliverytemplate",
						"fdeliveryguestcheckout"
					]
				},
				"address": {
					"title": "property_address_title",
					"type": "varchar",
					"dbType": "varchar(128)",
					"length": 128,
					"required": true,
					"groups": [
						"delivery",
						"fdelivery",
						"fdeliverytemplate",
						"fdeliveryguestcheckout"
					]
				},
				"address2": {
					"title": "property_address2_title",
					"type": "varchar",
					"dbType": "varchar(128)",
					"length": 128,
					"groups": [
						"delivery",
						"fdelivery",
						"fdeliverytemplate",
						"fdeliveryguestcheckout"
					]
				},
				"postcode": {
					"title": "property_postcode_title",
					"type": "varchar",
					"dbType": "varchar(16)",
					"inputType": "tel",
					"length": 16,
					"required": true,
					"groups": [
						"delivery",
						"fdelivery",
						"fdeliverytemplate",
						"fdeliveryguestcheckout"
					]
				},
				"town": {
					"title": "property_town_title",
					"type": "varchar",
					"dbType": "varchar(64)",
					"length": 64,
					"required": true,
					"groups": [
						"delivery",
						"fdelivery",
						"fdeliverytemplate",
						"fdeliveryguestcheckout"
					]
				},
				"country": {
					"title": "property_country_title",
					"type": "single_select",
					"dbType": "varchar(64)",
					"length": 64,
					"enum": "countries",
					"preprocess": [
						{
							"regexp": "(^webr~countries~|^)",
							"replace": "webr~countries~"
						}
					],
					"postprocess": [
						{
							"search": "webr~countries~",
							"replace": ""
						}
					],
					"value": "DK",
					"emptyValue": "DK",
					"typeAhead": true,
					"forceSelection": true,
					"groups": [
						"delivery",
						"fdelivery",
						"fcountry",
						"fdeliverytemplate",
						"fdeliveryguestcheckout"
					]
				},
				"email": {
					"title": "property_email_title",
					"type": "varchar",
					"vtype": "email",
					"inputType": "email",
					"dbType": "varchar(64)",
					"length": 64,
					"required": true,
					"groups": [
						"delivery",
						"fdelivery"
					]
				},
				"telephone": {
					"title": "property_telephone_title",
					"type": "varchar",
					"vtype": "phone",
					"inputType": "tel",
					"dbType": "varchar(64)",
					"length": 64,
					"required": true,
					"groups": [
						"delivery",
						"fdelivery",
						"fdeliveryguestcheckout"
					]
				},
				"note": {
					"title": "note",
					"type": "text",
					"dbType": "varchar(1024)",
					"length": 1024,
					"required": false,
					"groups": [
						"delivery",
						"fdelivery"
					]
				}
			},
			"collections": {
				"fcheckoutExtendedDelivery": {
					"id": 2,
					"title": "collection_delivery_title",
					"properties": {
						"note": {
							"title": "note",
							"type": "text",
							"dbType": "varchar(6000)",
							"length": 6000,
							"maxLength": 6000,
							"rows": 5,
							"groups": [
								"delivery",
								"fcheckoutextendeddelivery"
							]
						},
						"reference": {
							"title": "reference",
							"type": "varchar",
							"dbType": "varchar(40)",
							"length": 40,
							"maxLength": 40,
							"groups": [
								"delivery",
								"fcheckoutacceptextendeddelivery"
							]
						},
						"requisition": {
							"title": "requisition",
							"type": "varchar",
							"dbType": "varchar(40)",
							"length": 40,
							"maxLength": 40,
							"groups": [
								"delivery",
								"fcheckoutacceptextendeddelivery",
								"fcheckoutextendeddelivery"
							]
						},
						"applicantName": {
							"title": "applicantName",
							"type": "varchar",
							"dbType": "varchar(40)",
							"length": 40,
							"maxLength": 40,
							"groups": [
								"delivery",
								"fcheckoutacceptextendeddelivery"
							]
						},
						"accountnumber": {
							"title": "accountnumber",
							"type": "varchar",
							"dbType": "varchar(25)",
							"length": 25,
							"maxLength": 25,
							"groups": [
								"delivery",
								"fcheckoutacceptextendeddelivery"
							]
						}
					}
				}
			}
		}
	},
	"groups": {
		"delivery": {
			"title": "delivery",
			"index": 1,
			"renderIn": {
				"editor": {}
			}
		},
		"nogroup": {
			"title": "nogroup",
			"index": 999,
			"renderIn": {
				"editor": {}
			}
		},
		"fdelivery": {
			"title": "description",
			"renderIn": {
				"webshop": {
					"steal": {
						"__default__": [
							{
								"name": "title",
								"as": "fieldLabel",
								"translate": true
							},
							"inputType"
						]
					},
					"layout": {
						"__default__": {
							"layout": {
								"type": "fit",
								"border": true
							}
						},
						"telephone": {
							"layout": {
								"type": "fit",
								"border": true
							},
							"required": false
						},
						"email": {
							"layout": {
								"type": "fit",
								"border": true
							},
							"required": false
						}
					}
				}
			}
		},
		"fdeliveryguestcheckout": {
			"title": "description",
			"renderIn": {
				"webshop": {
					"steal": {
						"__default__": [
							{
								"name": "title",
								"as": "fieldLabel",
								"translate": true
							},
							"inputType"
						]
					},
					"layout": {
						"__default__": {
							"layout": {
								"type": "fit",
								"border": true
							}
						},
						"country": {
							"layout": {
								"type": "fit",
								"border": true
							},
							"required": true
						},
						"fullname": {
							"layout": {
								"type": "fit",
								"border": true
							},
							"required": true,
							"inputAttrs": "autofocus"
						}
					}
				}
			}
		},
		"fcheckoutextendeddelivery": {
			"title": "description",
			"renderIn": {
				"webshop": {
					"sequence": [
						"requisition",
						"note"
					],
					"steal": {
						"__default__": [
							{
								"name": "title",
								"as": "fieldLabel",
								"translate": true
							},
							"inputType"
						]
					},
					"layout": {
						"__default__": {
							"layout": {
								"type": "fit",
								"border": true
							}
						}
					}
				}
			}
		},
		"fcheckoutacceptextendeddelivery": {
			"title": "description",
			"renderIn": {
				"webshop": {
					"steal": {
						"__default__": [
							{
								"name": "title",
								"as": "fieldLabel",
								"translate": true
							},
							"inputType"
						]
					},
					"layout": {
						"__default__": {
							"layout": {
								"type": "fit",
								"border": true
							}
						}
					}
				}
			}
		},
		"fdeliverytemplate": {
			"title": "description",
			"renderIn": {
				"webshop": {
					"steal": {
						"__default__": [
							{
								"name": "title",
								"as": "fieldLabel",
								"translate": true
							},
							"inputType"
						]
					},
					"layout": {
						"__default__": {
							"tagName": "div",
							"layout": {
								"type": "fit",
								"border": true
							}
						},
						"company": {
							"tagName": "strong"
						}
					}
				}
			}
		},
		"fcountry": {
			"title": "description",
			"renderIn": {
				"webshop": {}
			}
		}
	},
	"environments": {
		"editor": {
			"title": "editor environment"
		},
		"folderorganizer": {
			"title": "environment_folderorganizer_title"
		},
		"folderWindow": {
			"title": "environment_folderwindow_title"
		},
		"menuorganizer": {
			"title": "environment_menuorganizer_title"
		}
	},
	"layout": {
		"editor": {
			"__default__": {
				"width": "100%",
				"minWidth": 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ø",
				"group_nogroup_title": "Ingen gruppe",
				"collection_delivery_title": "Leveringsadresse",
				"property_company_title": "Firma",
				"property_vatno_title": "CVR",
				"property_fullname_title": "Navn",
				"property_address_title": "Adresse 1",
				"property_address2_title": "Adresse 2",
				"property_postcode_title": "Postnummer",
				"property_town_title": "By",
				"property_email_title": "Email",
				"property_telephone_title": "Telefonnummer",
				"property_fullname_placeholder": "Indtast både for- og efternavn",
				"property_country_title": "Land",
				"note": "Bemærkning",
				"requisition": "Rekvisition",
				"reference": "Reference",
				"accountnumber": "Kontering",
				"applicantName": "Rekvirent navn"
			}
		},
		"en": {
			"text": {
				"environment_editor_title": "Editor environment",
				"environment_folderorganizer_title": "Folderorganizer environment",
				"environment_menuorganizer_title": "Menuorganizer environment",
				"group_nogroup_title": "No Group",
				"collection_delivery_title": "Delivery Address",
				"property_company_title": "Company",
				"property_vatno_title": "Vat No",
				"property_fullname_title": "Full Name",
				"property_address_title": "Address 1",
				"property_address2_title": "Address 2",
				"property_postcode_title": "Zip Code",
				"property_town_title": "City",
				"property_email_title": "Email",
				"property_telephone_title": "Phone No",
				"property_fullname_placeholder": "Enter Full Name",
				"property_country_title": "Country",
				"note": "Note",
				"requisition": "Requisition",
				"reference": "Reference",
				"accountnumber": "Account Number",
				"applicantName": "Applicant Name"
			}
		},
		"de": {
			"text": {
				"group_nogroup_title": "Keine Gruppe",
				"collection_delivery_title": "Lieferanschrift",
				"property_company_title": "Firma",
				"property_vatno_title": "USt.-ID-Nr.",
				"property_fullname_title": "Vor- und Nachname",
				"property_address_title": "Anschrift 1",
				"property_address2_title": "Anschrift 2",
				"property_postcode_title": "Postleitzahl",
				"property_town_title": "Ort",
				"property_email_title": "E-Mail",
				"property_telephone_title": "Telefon",
				"property_fullname_placeholder": "Bitte Vor- und Nachname eingeben",
				"property_country_title": "Land",
				"note": "Anmerkung",
				"requisition": "Anforderung",
				"reference": "Hinweis",
				"accountnumber": "Kontonummer",
				"applicantName": "Antragsteller"
			}
		}
	}
}
