{ "$schema": "http://json-schema.org/draft-07/schema#", "properties": { "domain_aliases": { "title": "Domain Aliases", "description": "Adds an alias domain. If a request with the hostname (FQDN) matching the hostname in the alias is found, that URL is used as the base URL.", "type": "array", "items": [ { "additionalProperties": false, "type": "object", "required": ["match_domain", "base_path", "scheme"], "properties": { "match_domain": { "minLength": 1, "title": "Matching Domain", "description": "Sets the matching domain. If the domain matches with this entry, the accompanying base_url will be used.", "type": "string", "examples": ["localhost", "my-domain.com"] }, "scheme": { "title": "Scheme", "description": "Sets the scheme, for example https or http.", "type": "string", "enum": ["http", "https"] }, "base_path": { "minLength": 1, "title": "Base Path", "description": "Sets the base path for the matched domain.", "type": "string", "default": "/", "pattern": "^/.*$", "examples": ["/", "/.ory/kratos"] } } } ] } } }