{
  "$schema": "http://json-schema.org/draft-04/schema",
  "properties": {
    "-frontend-authorized-slave-string": {
      "description": "List of SOFTINST-XXX of Slaves, separated by space which is allowed to use custom configuration.",
      "title": "Authorized Slave String",
      "type": "string"
    },
    "-frontend-quantity": {
      "description": "Quantity of Frontends Replicate.",
      "title": "Frontend Replication Quantity",
      "type": "integer"
    },
    "apache-certificate": {
      "description": "SSL Certificate used by the server. By appending to it CA certificate it is possible to use this field to replace not implemented apache-ca-certificate. Deprecated, please use master-key-upload-url.",
      "textarea": true,
      "title": "[DEPRECATED] SSL Certificate, with optional CA certificate",
      "type": "string"
    },
    "apache-key": {
      "description": "SSL Key used by the server. Deprecated, please use master-key-upload-url.",
      "textarea": true,
      "title": "[DEPRECATED] SSL Key",
      "type": "string"
    },
    "domain": {
      "description": "Base Domain for create subdomains (ie.: example.com).",
      "pattern": "^([a-zA-Z0-9]([a-zA-Z0-9\\-]{0,61}[a-zA-Z0-9])?\\.)+[a-zA-Z]{2,6}$",
      "title": "Domain",
      "type": "string"
    },
    "enable-http2-by-default": {
      "default": "true",
      "description": "Use HTTP2 as default Protocol",
      "enum": [
        "true",
        "false"
      ],
      "title": "Enable HTTP2 by Default",
      "type": "string"
    },
    "global-disable-http2": {
      "default": "false",
      "description": "Disables globally HTTP2 in Caddy, thus enable-http2-by-default here and enable-http2 have no effect. Rational is that in some loaded environments it is better to run Caddy without any HTTP2 capabilities. Warning: Changing the parameter will result in restarting Caddy process.",
      "enum": [
        "true",
        "false"
      ],
      "title": "Globally disable HTTP2",
      "type": "string"
    },
    "mpm-graceful-shutdown-timeout": {
      "default": 5,
      "description": "Value passed to -grace parameter of Caddy, see https://caddyserver.com/docs/cli .",
      "title": "Duration of the graceful shutdown period. Warning: Changing the parameter will result in restarting Caddy process.",
      "type": "integer"
    },
    "nginx-domain": {
      "description": "Base Domain for create subdomains (ie.: example2.com) for websocket, notebook and eventsource.",
      "pattern": "^([a-zA-Z0-9]([a-zA-Z0-9\\-]{0,61}[a-zA-Z0-9])?\\.)+[a-zA-Z]{2,6}$",
      "title": "[NOT IMPLEMENTED] Nginx Domain",
      "type": "string"
    },
    "public-ipv4": {
      "description": "Public ipv4 of the frontend (the one Caddy will be indirectly listening to).",
      "title": "Public IPv4",
      "type": "string"
    },
    "re6st-verification-url": {
      "description": "Url to verify if the internet and/or re6stnet is working.",
      "title": "Test Verification URL",
      "type": "string"
    },
    "enable-quic": {
      "default": "false",
      "description": "Enables QUIC - Quick UDP Internet Connections. Note that this is experimental feature, thus can result in undefined behaviour. Warning: Changing the parameter will result in restarting Caddy process.",
      "enum": [
        "true",
        "false"
      ],
      "title": "Enable QUIC",
      "type": "string"
    },
    "proxy-try-duration": {
      "default": 5,
      "description": "A time during which Caddy will try to establish connection with a backend. Setting it to 0 will result with immediate return of 502 EOF error to the browser, even if it would be possible to (re)connect to the backend during few moments. More info in https://caddyserver.com/docs/proxy try_durtion.",
      "title": "Duration in seconds of trying a backend",
      "type": "integer"
    },
    "proxy-try-interval": {
      "default": 250,
      "description": "How often Caddy will try to establish connection with a backend during proxy-try-duration. More info in https://caddyserver.com/docs/proxy try_interval",
      "title": "Interval in milliseconds of tries during proxy-try-duration",
      "type": "integer"
    },
    "automatic-internal-kedifa-caucase-csr": {
      "default": "true",
      "description": "Automatically signs CSRs sent to KeDiFa's caucase, based on csr_id and matching certificate.",
      "enum": [
        "true",
        "false"
      ],
      "title": "Automatic Internal KeDiFa's Caucase CSR",
      "type": "string"
    },
    "ciphers": {
      "description": "List of ciphers. Empty defaults to Caddy list of ciphers. See https://caddyserver.com/docs/tls for more information.",
      "title": "Ordered space separated list of ciphers",
      "type": "string"
    }
  },
  "title": "Input Parameters",
  "type": "object"
}
