{
	"$schema": "https://json-schema.org/draft/2020-12/schema",
	"description": "JigBack configuration for JigTime server with PHP",
	"type": "object",
	"properties": {
		"denoHome": {
			"description": "The Deno home directory path",
			"type": "string",
			"default": "${sys:usr.home}/.deno"
		},
		"rootPath": {
			"description": "The file path of web application document root",
			"type": "string",
			"default": "${sys:app.home}/public"
		},
		"templatePath": {
			"description": "The file path of template files",
			"type": "string",
			"default": "${sys:app.home}/protected/template"
		},
		"requestExt": {
			"description": "Settings for the request extension according to the controller type",
			"type": "object",
			"properties": {
				"render": {
					"description": "Request extensions to be forwarded to the render controller",
					"type": "array",
					"default": [
						"html",
						"jig"
					]
				},
				"resolve": {
					"description": "Request extensions to be forwarded to the resolve controller",
					"type": "array",
					"default": [
						"pug",
						"ejs",
						"hbs"
					]
				},
				"fetchout": {
					"description": "Request extensions to be forwarded to the fetchout controller",
					"type": "array",
					"default": [
						"json"
					]
				},
				"transpile": {
					"description": "Request extensions to be forwarded to the transpile controller",
					"type": "array",
					"default": [
						"css",
						"less",
						"scss",
						"js",
						"ts",
						"json",
						"jsonc"
					]
				}
			}
		},
		"proxyUrl": {
			"description": "The proxy URL for transpile",
			"type": "string",
			"default": "http://localhost:8000"
		}
	}
}
