{
  "pluginId": "service-betterportal-docs-site",
  "pluginName": "service-betterportal-docs-site",
  "events": {},
  "version": "11.0.12",
  "configSchema": {
    "anyvaliVersion": "1.0",
    "schemaVersion": "1.1",
    "root": {
      "kind": "object",
      "properties": {
        "host": {
          "kind": "string",
          "minLength": 1,
          "default": "0.0.0.0"
        },
        "port": {
          "kind": "int",
          "min": 1,
          "default": 80
        },
        "betterportal": {
          "kind": "optional",
          "inner": {
            "kind": "object",
            "properties": {
              "bpConfigPath": {
                "kind": "optional",
                "inner": {
                  "kind": "string",
                  "minLength": 1
                }
              },
              "configApiToken": {
                "kind": "optional",
                "inner": {
                  "kind": "string",
                  "minLength": 1
                }
              },
              "allowDevConfigToken": {
                "kind": "bool",
                "default": false
              },
              "previewConfigKey": {
                "kind": "optional",
                "inner": {
                  "kind": "string",
                  "minLength": 1,
                  "metadata": {
                    "description": "Preview configuration encryption key",
                    "sensitive": true,
                    "writeonly": true
                  }
                }
              },
              "controlPlaneUrl": {
                "kind": "optional",
                "inner": {
                  "kind": "string",
                  "minLength": 1
                }
              },
              "serviceApiKey": {
                "kind": "optional",
                "inner": {
                  "kind": "string",
                  "minLength": 1,
                  "metadata": {
                    "description": "Control-plane service credential",
                    "sensitive": true,
                    "writeonly": true
                  }
                }
              },
              "bootstrapStatePath": {
                "kind": "string",
                "minLength": 1,
                "default": "./.bp-bootstrap/state.enc"
              },
              "scopedConfigCachePath": {
                "kind": "string",
                "minLength": 1,
                "default": "./.bp-sync-cache/scoped.json"
              },
              "trustedProxyHeaders": {
                "kind": "bool",
                "default": false
              },
              "cfProxy": {
                "kind": "bool",
                "default": false
              },
              "trustedProxyIps": {
                "kind": "array",
                "items": {
                  "kind": "string",
                  "minLength": 1
                },
                "default": []
              }
            },
            "required": [
              "allowDevConfigToken",
              "bootstrapStatePath",
              "scopedConfigCachePath",
              "trustedProxyHeaders",
              "cfProxy",
              "trustedProxyIps"
            ],
            "unknownKeys": "strip"
          }
        }
      },
      "required": [
        "host",
        "port"
      ],
      "unknownKeys": "strip"
    },
    "definitions": {},
    "extensions": {
      "bsb": {
        "envOverridePaths": [
          "betterportal.controlPlaneUrl",
          "betterportal.serviceApiKey",
          "betterportal.previewConfigKey"
        ]
      }
    }
  },
  "pluginType": "service"
}