{ "definitions": { "ConfigGRPCConfig": { "properties": { "enableGRPCGateway": { "default": true, "type": "boolean" }, "enableInstrumentation": { "type": "boolean" }, "enableProtovalidate": { "description": "Add a chain unary and streaming interceptor for buf.build/go/protovalidate", "default": false, "type": "boolean" }, "enableReflection": { "type": "boolean" }, "enabled": { "type": "boolean" }, "grpcGatewayPath": { "default": "/grpc-api", "type": "string" }, "grpcGatewayPathStrip": { "default": false, "type": "boolean" }, "listen": { "type": "string" }, "logRequests": { "type": "boolean" } }, "type": "object" }, "ConfigHTTPConfig": { "properties": { "corsAllowCredentials": { "type": "boolean" }, "corsAllowPrivateNetwork": { "type": "boolean" }, "corsAllowedOrigins": { "items": { "type": "string" }, "type": "array" }, "corsEnabled": { "type": "boolean" }, "enabled": { "type": "boolean" }, "idleTimeout": { "type": "string" }, "listen": { "type": "string" }, "logExcludePathRegexps": { "items": { "type": "string" }, "type": "array" }, "logRequests": { "type": "boolean" }, "readTimeout": { "type": "string" }, "writeTimeout": { "type": "string" } }, "type": "object" }, "ConfigLogConfig": { "properties": { "enabled": { "type": "boolean" }, "format": { "type": "string" }, "level": { "type": "string" }, "output": { "type": "string" }, "timeFormat": { "type": "string" } }, "type": "object" }, "ConfigOTELConfig": { "properties": { "enabled": { "type": "boolean" }, "metricIntervalSecs": { "type": "integer" }, "prometheusEnabled": { "type": "boolean" }, "prometheusPath": { "type": "string" }, "stdoutEnabled": { "type": "boolean" } }, "type": "object" } }, "properties": { "costPerKWH": { "type": "number" }, "econetEmail": { "type": "string" }, "econetPassword": { "type": "string" }, "environment": { "type": "string" }, "grpc": { "$ref": "#/definitions/ConfigGRPCConfig" }, "http": { "$ref": "#/definitions/ConfigHTTPConfig" }, "logging": { "$ref": "#/definitions/ConfigLogConfig" }, "name": { "type": "string" }, "otel": { "$ref": "#/definitions/ConfigOTELConfig" }, "usageInterval": { "type": "integer" }, "version": { "type": "string" } }, "type": "object" }