{
	"ns": "webr.ns",
	"propertyRules": "rules.xpd",
	"idProperty": "__cid__",
	"defaultLanguage": "en",
	"labelWidth": 160,
	"iconPath": "/system/images/icons/16x16",
	"properties": {
		"__cid__": {
			"type": "number",
			"title": "property_cid_title",
			"dbType": "integer",
			"length": 5,
			"private": true
		},
		"address": {
			"title": "property_address_title",
			"isTitle": true,
			"type": "varchar",
			"dbType": "varchar(128)",
			"length": 128,
			"required": true,
			"groups": [
				"billing",
				"fbilling",
				"freceiptbilling",
				"fuserhomebilling",
				"fbillingguestcheckout",
				"fsignup"
			]
		},
		"address2": {
			"title": "property_address2_title",
			"type": "varchar",
			"dbType": "varchar(128)",
			"length": 128,
			"groups": [
				"billing",
				"fbilling",
				"freceiptbilling",
				"fuserhomebilling",
				"fbillingguestcheckout",
				"fsignup"
			]
		},
		"postcode": {
			"title": "property_postcode_title",
			"type": "varchar",
			"dbType": "varchar(16)",
			"inputType": "tel",
			"length": 16,
			"required": true,
			"groups": [
				"billing",
				"fbilling",
				"freceiptbilling",
				"fuserhomebilling",
				"fbillingguestcheckout",
				"fsignup"
			]
		},
		"town": {
			"title": "property_town_title",
			"type": "varchar",
			"dbType": "varchar(64)",
			"length": 64,
			"required": true,
			"groups": [
				"billing",
				"fbilling",
				"freceiptbilling",
				"fuserhomebilling",
				"fbillingguestcheckout",
				"fsignup"
			]
		},
		"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": [
				"billing",
				"fbilling",
				"freceiptbilling",
				"fuserhomebilling",
				"fbillingguestcheckout",
				"fsignup"
			]
		},
		"email": {
			"title": "property_email_title",
			"type": "varchar",
			"vtype": "email",
			"inputType": "email",
			"dbType": "varchar(64)",
			"length": 64,
			"required": true,
			"groups": [
				"attention",
				"fbilling",
				"fbillingguestcheckout",
				"fsignup"
			]
		},
		"telephone": {
			"title": "property_telephone_title",
			"type": "varchar",
			"vtype": "phone",
			"inputType": "tel",
			"dbType": "varchar(128)",
			"length": 64,
			"required": true,
			"groups": [
				"attention",
				"fbilling",
				"fbillingguestcheckout",
				"fsignup"
			]
		},
		"fullname": {
			"title": "property_fullname_title",
			"type": "varchar",
			"length": 128,
			"dbType": "varchar(128)",
			"private": true
		},
		"company": {
			"title": "property_company_title",
			"type": "varchar",
			"length": 128,
			"dbType": "varchar(128)",
			"private": true
		},
		"lastlogin": {
			"title": "property_lastlogin_title",
			"type": "isotimestamp",
			"dbType": "varchar(26)",
			"length": 26,
			"readOnly": true,
			"groups": [
				"history"
			]
		}
	},
	"collections": {
		"private": {
			"title": "collection_private_title",
			"id": 1,
			"properties": {
				"fullname": {
					"title": "property_fullname_title",
					"type": "varchar",
					"dbType": "varchar(128)",
					"length": 128,
					"required": true,
					"groups": [
						"attention",
						"fbilling",
						"freceiptbilling",
						"fuserhomebilling",
						"fbillingguestcheckout",
						"fsignup"
					]
				}
			}
		},
		"business": {
			"title": "collection_business_title",
			"id": 2,
			"properties": {
				"company": {
					"title": "property_company_title",
					"type": "varchar",
					"dbType": "varchar(64)",
					"length": 64,
					"groups": [
						"billing",
						"fbilling",
						"freceiptbilling",
						"fuserhomebilling",
						"fbillingguestcheckout",
						"fsignup"
					]
				},
				"vatno": {
					"title": "property_vatno_title",
					"type": "varchar",
					"dbType": "varchar(64)",
					"length": 64,
					"groups": [
						"companyinfo",
						"fbilling",
						"freceiptbilling",
						"fbillingguestcheckout",
						"fsignup"
					]
				},
				"fullname": {
					"title": "property_attention_title",
					"type": "varchar",
					"dbType": "varchar(128)",
					"length": 128,
					"required": true,
					"groups": [
						"fbillingguestcheckout",
						"attention"
					]
				}
			}
		}
	},
	"groups": {
		"history": {
			"title": "group_history_title",
			"index": 1,
			"renderIn": {
				"editor": {
					"sequence": 1
				}
			}
		},
		"billing": {
			"title": "group_billing_title",
			"index": 10,
			"renderIn": {
				"editor": {
					"sequence": 10
				}
			}
		},
		"attention": {
			"title": "group_attention_title",
			"index": 20,
			"renderIn": {
				"editor": {
					"sequence": 20
				}
			}
		},
		"companyinfo": {
			"title": "group_companyinfo_title",
			"index": 30,
			"renderIn": {
				"editor": {
					"sequence": 30
				}
			}
		},
		"fsignup": {
			"title": "description",
			"renderIn": {
				"webshop": {
					"sequence": [
						"telephone"
					],
					"steal": {
						"__default__": [
							{
								"name": "title",
								"as": "fieldLabel",
								"translate": true
							},
							"inputType"
						]
					},
					"layout": {
						"__default__": {
							"layout": {
								"type": "fit",
								"border": true
							}
						},
						"ERPtoken": {
							"type": "hidden"
						}
					}
				}
			}
		},
		"fuserhomebilling": {
			"title": "description",
			"renderIn": {
				"webshop": {
					"sequence": [
						"company",
						"fullname",
						"address",
						"address2",
						"postcode",
						"town",
						"country"
					],
					"steal": {
						"__default__": [
							"inputType"
						]
					},
					"layout": {
						"__default__": {
							"layout": {
								"type": "fit",
								"border": true
							}
						}
					}
				}
			}
		},
		"fbilling": {
			"title": "description",
			"renderIn": {
				"webshop": {
					"steal": {
						"__default__": [
							{
								"name": "title",
								"as": "fieldLabel",
								"translate": true
							},
							"inputType"
						]
					},
					"layout": {
						"__default__": {
							"layout": {
								"type": "fit",
								"border": true
							}
						},
						"country": {
							"layout": {
								"border": true
							}
						}
					}
				}
			}
		},
		"fbillingguestcheckout": {
			"title": "description",
			"renderIn": {
				"webshop": {
					"steal": {
						"__default__": [
							{
								"name": "title",
								"as": "fieldLabel",
								"translate": true
							},
							"inputType"
						]
					},
					"layout": {
						"__default__": {
							"layout": {
								"type": "fit",
								"border": true
							}
						},
						"addresstype": {
							"layout": {
								"border": true
							}
						},
						"company": {
							"layout": {
								"type": "fit",
								"border": true
							},
							"required": true
						},
						"vatno": {
							"layout": {
								"type": "fit",
								"border": true
							},
							"required": true
						},
						"attention": {
							"layout": {
								"type": "fit",
								"border": true
							}
						},
						"fullname": {
							"layout": {
								"type": "fit",
								"border": true
							}
						},
						"country": {
							"layout": {
								"border": true
							},
							"required": true
						}
					}
				}
			}
		},
		"freceiptbilling": {
			"title": "description",
			"renderIn": {
				"webshop": {
					"sequence": [
						"fullname",
						"company",
						"vatno"
					],
					"steal": {
						"__default__": [
							"inputType"
						],
						"vatno": [
							{
								"name": "title",
								"as": "fieldLabel",
								"translate": true
							},
							"inputType"
						]
					},
					"layout": {
						"__default__": {
							"layout": {
								"type": "fit",
								"border": true
							}
						}
					}
				}
			}
		}
	},
	"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
			},
			"company": {
				"sequence": 20,
				"width": 500
			},
			"fullname": {
				"sequence": 25,
				"width": 450
			},
			"vatno": {
				"sequence": 30,
				"width": 400
			},
			"address": {
				"sequence": 60,
				"width": 500
			},
			"address2": {
				"sequence": 70,
				"width": 500
			},
			"postcode": {
				"sequence": 80,
				"width": 200
			},
			"town": {
				"sequence": 90,
				"width": 450
			},
			"country": {
				"sequence": 100,
				"width": 500
			},
			"email": {
				"sequence": 110,
				"width": 400
			},
			"telephone": {
				"sequence": 120,
				"width": 250
			},
			"lastlogin": {
				"sequence": 130,
				"width": 350
			}
		},
		"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_business_title": "Firmakonto",
				"collection_private_title": "Privatkonto",
				"group_billing_title": "Faktureringsadresse",
				"group_attention_title": "Kontaktperson",
				"group_companyinfo_title": "Firmaoplysninger",
				"group_history_title": "Historik",
				"property_erptoken_title": "ERP kode",
				"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": "E-mail",
				"property_telephone_title": "Telefon",
				"property_country_title": "Land",
				"property_attention_title": "Attention",
				"property_lastlogin_title": "Sidste login"
			}
		},
		"en": {
			"text": {
				"environment_editor_title": "Editor environment",
				"environment_folderorganizer_title": "Folderorganizer environment",
				"environment_menuorganizer_title": "Menuorganizer environment",
				"collection_business_title": "Business Account",
				"collection_private_title": "Private Account",
				"group_billing_title": "Address",
				"group_attention_title": "Contact Person",
				"group_companyinfo_title": "Company Info",
				"group_history_title": "History",
				"property_erptoken_title": "ERP Code",
				"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",
				"property_country_title": "Country",
				"property_attention_title": "Attention",
				"property_lastlogin_title": "Last Login"
			}
		},
		"de": {
			"text": {
				"collection_business_title": "Unternehmen",
				"collection_private_title": "Privatperson",
				"group_billing_title": "Rechnungsanschrift",
				"group_attention_title": "Kontaktperson",
				"group_companyinfo_title": "Firmeninformationen",
				"group_history_title": "History",
				"property_erptoken_title": "ERP-Nummer",
				"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_country_title": "Land",
				"property_attention_title": "z.Hd.",
				"property_lastlogin_title": "Last Login"
			}
		}
	}
}
