{
	"ns": "webr.ns",
	"propertyRules": "rules.xpd",
	"idProperty": "__cid__",
	"defaultLanguage": "en",
	"labelWidth": 160,
	"iconPath": "/system/images/icons/extjs5/16x16",
	"properties": {
		"pubdate": {
			"type": "date",
			"dbType": "varchar(26)",
			"length": 26,
			"format": "Y-m-d",
			"i18n": true,
			"title": "property_pubdate_title",
			"placeholder": "property_pubdate_placeholder",
			"groups": [
				"publication"
			]
		},
		"expiredate": {
			"type": "date",
			"dbType": "varchar(26)",
			"length": 26,
			"i18n": true,
			"title": "property_expiredate_title",
			"placeholder": "property_expiredate_placeholder",
			"minDate": "today",
			"format": "Y-m-d",
			"groups": [
				"publication"
			]
		},
		"siteclude": {
			"type": "includepicker",
			"dbType": "varchar(512)",
			"length": 512,
			"i18n": true,
			"typeConfig": {
				"includeText": "property_siteclude_typeconfig_includetext",
				"excludeText": "property_siteclude_typeconfig_excludetext",
				"allText": "property_siteclude_typeconfig_alltext"
			},
			"listConfig": {
				"dmd": "webshop.dmd",
				"entity": "WSHSITET00",
				"uiName": "portfolio",
				"displayField": "SITPROP_NAME",
				"valueField": "SITSITTKN",
				"anchor": "50%",
				"minWidth": 300,
				"emptyText": "property_siteclude_listconfig_emptytext"
			},
			"groups": [
				"publication"
			],
			"title": "property_siteclude_title"
		},
		"no_index": {
			"context": {
				"grid": {
					"uitype": "boolean"
				}
			},
			"title": "property_no_index_title",
			"type": "boolean",
			"dbType": "char(5)",
			"i18n": true,
			"length": 5,
			"groups": [
				"publication"
			],
			"boxlabel": "property_no_index_boxlabel"
		},
		"pubtitle": {
			"type": "htmlfield",
			"dbType": "varchar(256)",
			"length": 256,
			"title": "property_pubtitle_title",
			"isFormField": false,
			"groups": [
				"publication"
			],
			"borrow": {
				"sanitizeFn": "ip2.setPublicationTitle",
				"and": true,
				"initialize": true,
				"fields": [
					{
						"from": "pubdate",
						"trigger": "change",
						"conditionFn": "ip2.trueFn"
					},
					{
						"from": "expiredate",
						"trigger": "change",
						"conditionFn": "ip2.trueFn"
					},
					{
						"from": "pubstatus",
						"trigger": "change",
						"conditionFn": "ip2.trueFn"
					},
					{
						"from": "removed",
						"trigger": "change",
						"conditionFn": "ip2.trueFn"
					},
					{
						"from": "siteclude",
						"trigger": "change",
						"conditionFn": "ip2.trueFn"
					}
				]
			}
		},
		"pubstatus": {
			"title": "property_pubstatus_title",
			"type": "picker",
			"dbType": "integer",
			"length": 5,
			"i18n": true,
			"enum": "pubstatus",
			"preprocess": [
				{
					"regexp": "^",
					"replace": "webr~pubstatus~"
				}
			],
			"postprocess": [
				{
					"search": "webr~pubstatus~",
					"replace": ""
				}
			],
			"groups": [
				"publication"
			]
		},
		"removed": {
			"type": "boolean",
			"dbType": "char(5)",
			"length": 5,
			"i18n": true,
			"title": "property_removed_title",
			"boxlabel": "property_removed_boxlabel",
			"groups": [
				"publication"
			]
		},
		"TSMTSMTKN": {
			"type": "number",
			"dbType": "integer",
			"length": 10,
			"title": "property_tsmtsmtkn_title",
			"groups": [
				"information"
			]
		},
		"TSMITMTKN": {
			"type": "number",
			"dbType": "integer",
			"length": 10,
			"title": "property_tsmitmtkn_title",
			"groups": [
				"information"
			]
		},
		"TSMEVTTKN": {
			"type": "number",
			"dbType": "integer",
			"length": 10,
			"title": "property_tsmevttkn_title",
			"groups": [
				"information"
			]
		},
		"TSMORGTKN": {
			"type": "number",
			"dbType": "integer",
			"length": 10,
			"title": "property_tsmorgtkn_title",
			"groups": [
				"information"
			]
		},
		"TSMTYP": {
			"type": "picker",
			"dbType": "integer",
			"title": "property_tsmtyp_title",
			"enum": "testimonialtype",
			"preprocess": [
				{
					"regexp": "^",
					"replace": "webr~testimonialtype~"
				}
			],
			"postprocess": [
				{
					"search": "webr~testimonialtype~",
					"replace": ""
				}
			],
			"groups": [
				"information"
			]
		},
		"TSMTS": {
			"type": "timestamp",
			"title": "property_tsmts_title",
			"groups": [
				"information"
			]
		},
		"TSMUSRTKN": {
			"type": "number",
			"dbType": "integer",
			"length": 10,
			"title": "property_tsmusrtkn_title",
			"groups": [
				"information"
			]
		},
		"TSMSCL": {
			"type": "picker",
			"dbType": "integer",
			"title": "property_tsmscl_title",
			"enum": "testimonialscale",
			"preprocess": [
				{
					"regexp": "^",
					"replace": "webr~testimonialscale~"
				}
			],
			"postprocess": [
				{
					"search": "webr~testimonialscale~",
					"replace": ""
				}
			],
			"groups": [
				"information"
			]
		},
		"TSMSCLSYM": {
			"type": "picker",
			"dbType": "integer",
			"title": "property_tsmsclsym_title",
			"enum": "testimonialscalesymbol",
			"preprocess": [
				{
					"regexp": "^",
					"replace": "webr~testimonialscalesymbol~"
				}
			],
			"postprocess": [
				{
					"search": "webr~testimonialscalesymbol~",
					"replace": ""
				}
			],
			"groups": [
				"information"
			]
		},
		"TSMEVL": {
			"type": "number",
			"dbType": "integer",
			"length": 10,
			"title": "property_tsmevl_title",
			"groups": [
				"information"
			]
		},
		"TSMSCO": {
			"type": "number",
			"dbType": "integer",
			"length": 10,
			"title": "property_tsmsco_title",
			"groups": [
				"information"
			]
		},
		"TSMHDR": {
			"type": "varchar",
			"dbType": "varchar(256)",
			"length": 256,
			"title": "property_tsmhdr_title",
			"groups": [
				"information"
			]
		},
		"TSMDSC": {
			"type": "varchar",
			"dbType": "varchar(5000)",
			"length": 5000,
			"title": "property_tsmdsc_title",
			"groups": [
				"information"
			]
		},
		"TSMLOC": {
			"type": "picker",
			"dbType": "integer",
			"title": "property_tsmloc_title",
			"enum": "testimoniallocation",
			"preprocess": [
				{
					"regexp": "^",
					"replace": "webr~testimoniallocation~"
				}
			],
			"postprocess": [
				{
					"search": "webr~testimoniallocation~",
					"replace": ""
				}
			],
			"groups": [
				"information"
			]
		}
	},
	"collections": {
		"basic": {
			"title": "collection_basic_title",
			"id": 1,
			"properties": {
				"theme": {
					"title": "property_theme_title",
					"type": "picker",
					"dbType": "varchar(64)",
					"length": 128,
					"enum": "themes",
					"preprocess": [
						{
							"regexp": "^",
							"replace": "webr~themes~"
						}
					],
					"postprocess": [
						{
							"search": "webr~themes~",
							"replace": ""
						}
					],
					"groups": [
						"publication"
					]
				}
			}
		}
	},
	"groups": {
		"publication": {
			"title": "group_publication_title",
			"renderIn": {
				"editor": {
					"collapsed": false,
					"sequence": 1000,
					"collasible": false,
					"collapsible": true
				}
			},
			"index": 1000
		},
		"information": {
			"title": "group_information_title",
			"index": 100,
			"renderIn": {
				"editor": {
					"sequence": 100
				}
			}
		}
	},
	"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": 700,
				"minWidth": 300
			},
			"pubdate": {
				"sequence": 30
			},
			"expiredate": {
				"sequence": 40
			},
			"theme": {
				"sequence": 20
			},
			"no_index": {
				"sequence": 60
			},
			"siteclude": {
				"sequence": 70
			},
			"webactive": {
				"sequence": 60
			},
			"pubtitle": {
				"sequence": 1000
			},
			"pubstatus": {
				"sequence": 50
			},
			"removed": {
				"sequence": 80
			}
		},
		"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_publication_title": "Publikation",
				"property_pubdate_title": "Publikationsdato",
				"property_pubdate_placeholder": "Angives ingen, publiceres dette øjeblikkeligt",
				"property_expiredate_title": "Udløbsdato",
				"property_expiredate_placeholder": "Valgfri udløbsdato for publiceringen",
				"property_webactive_title": "Publiceret",
				"property_webactive_boxlabel": "Siden publiceres jf. regler og datoer",
				"property_siteclude_title": "På flere hjemmesider",
				"property_siteclude_typeconfig_alltext": "Vis på alle hjemmesider",
				"property_siteclude_typeconfig_includetext": "Inkluder på valgte hjemmesider",
				"property_siteclude_typeconfig_excludetext": "Ekskluder fra valgte hjemmesider",
				"property_siteclude_listconfig_emptytext": "Vælg blandt disse sites",
				"property_no_index_title": "Ingen indeksering",
				"property_no_index_boxlabel": "Ikke synlig for søgemaskiner",
				"property_pubtitle_title": "Publikation",
				"property_pubstatus_title": "Status",
				"property_removed_title": "Slet",
				"property_removed_boxlabel": "Siden bliver slettemarkeret",
				"collection_basic_title": "Basis",
				"group_information_title": "Informationer",
				"property_tsmtsmtkn_title": "ID",
				"property_tsmitmtkn_title": "Produkt ID",
				"property_tsmevttkn_title": "Event ID",
				"property_tsmorgtkn_title": "Organisation ID",
				"property_tsmtyp_title": "Testimonial type",
				"property_tsmts_title": "Tidspunkt",
				"property_tsmusrtkn_title": "Vurderingsgiver",
				"property_tsmscl_title": "Skala",
				"property_tsmsclsym_title": "Skala symbol",
				"property_tsmevl_title": "Vurdering",
				"property_tsmsco_title": "Point",
				"property_tsmhdr_title": "Overskrift",
				"property_tsmdsc_title": "Beskrivelse",
				"property_tsmloc_title": "Placering",
				"property_theme_title": "Tema"
			}
		},
		"en": {
			"text": {
				"environment_editor_title": "Editor Environment",
				"environment_folderorganizer_title": "Folderorganizer environment",
				"environment_menuorganizer_title": "Menuorganizer environment",
				"group_publication_title": "Publication",
				"property_pubdate_title": "Publication Date",
				"property_pubdate_placeholder": "If none, then this will be published immediately",
				"property_expiredate_title": "Expiration Date",
				"property_expiredate_placeholder": "Optional expiration date for the publication",
				"property_webactive_title": "Published",
				"property_webactive_boxlabel": "The page is published according to rules and dates",
				"property_siteclude_title": "Multiple sites",
				"property_siteclude_typeconfig_alltext": "Show on all sites",
				"property_siteclude_typeconfig_includetext": "Include on selected sites",
				"property_siteclude_typeconfig_excludetext": "Exclude from selected sites",
				"property_siteclude_listconfig_emptytext": "Choose from these sites",
				"property_no_index_title": "No indexing",
				"property_no_index_boxlabel": "Not visible to search engines",
				"property_pubtitle_title": "Publication",
				"property_pubstatus_title": "Status",
				"property_removed_title": "Remove",
				"property_removed_boxlabel": "Site will be marked as deleted",
				"collection_basic_title": "Basic",
				"group_information_title": "Information",
				"property_tsmtsmtkn_title": "ID",
				"property_tsmitmtkn_title": "Product ID",
				"property_tsmevttkn_title": "Event ID",
				"property_tsmorgtkn_title": "Organisation ID",
				"property_tsmtyp_title": "Testimonial type",
				"property_tsmts_title": "Timestamp",
				"property_tsmusrtkn_title": "Testimonial by",
				"property_tsmscl_title": "Scala",
				"property_tsmsclsym_title": "Scala symbol",
				"property_tsmevl_title": "Evaluation",
				"property_tsmsco_title": "Point",
				"property_tsmhdr_title": "Header",
				"property_tsmdsc_title": "Description",
				"property_tsmloc_title": "Location",
				"property_theme_title": "Theme"
			}
		}
	}
}
