{ "additionalProperties": false, "type": "object", "properties": { "server": { "additionalProperties": false, "type": "object", "properties": { "listen": { "additionalProperties": false, "type": "object", "properties": { "host": { "type": "string" }, "port": { "anyOf": [ { "maximum": 65535, "minimum": 0, "type": "integer" }, { "pattern": "^\\$\\{[^}]+\\}$", "type": "string" } ] } } } } }, "variables": { "type": "object", "patternProperties": { "^[a-zA-Z_][a-zA-Z0-9_]*$": { "anyOf": [ { "type": "string" }, { "type": "number" }, { "type": "boolean" } ] } } } }, "$id": "https://app.local/config.schema.json", "$schema": "http://json-schema.org/draft-07/schema#" }