{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "APP_ENV": { "type": "string", "enum": [ "local", "development", "staging", "production" ] }, "API_BASE_URL": { "type": "string", "format": "uri" }, "REQUEST_TIMEOUT_MS": { "default": 10000, "type": "integer", "minimum": 100, "maximum": 60000 }, "MAX_RETRY_ATTEMPTS": { "default": 2, "type": "integer", "minimum": 0, "maximum": 2 }, "TELEMETRY_ENABLED": { "type": "boolean" }, "TELEMETRY_ENDPOINT": { "type": "string", "format": "uri" }, "AUTH_MODE": { "type": "string", "enum": [ "external", "demo" ] }, "RELEASE_MANIFEST_URL": { "default": "/release-manifest.json", "type": "string", "minLength": 1 }, "RELEASE_ID": { "type": "string", "minLength": 1 }, "BUILD_ID": { "type": "string", "minLength": 1 }, "CONFIG_SCHEMA_VERSION": { "type": "string", "const": "2.0" }, "CAPABILITY_OVERRIDES": { "default": { "REALTIME": "DEFAULT", "WEB_WORKER": "DEFAULT", "SERVICE_WORKER": "DEFAULT", "OFFLINE_COMMANDS": "DEFAULT" }, "type": "object", "properties": { "REALTIME": { "default": "DEFAULT", "type": "string", "enum": [ "DEFAULT", "DISABLED" ] }, "WEB_WORKER": { "default": "DEFAULT", "type": "string", "enum": [ "DEFAULT", "DISABLED" ] }, "SERVICE_WORKER": { "default": "DEFAULT", "type": "string", "enum": [ "DEFAULT", "DISABLED" ] }, "OFFLINE_COMMANDS": { "default": "DEFAULT", "type": "string", "enum": [ "DEFAULT", "DISABLED" ] } }, "required": [ "REALTIME", "WEB_WORKER", "SERVICE_WORKER", "OFFLINE_COMMANDS" ], "additionalProperties": false }, "FEATURE_OVERRIDES": { "default": {}, "type": "object", "propertyNames": { "type": "string", "pattern": "^[a-z][a-z0-9-]{0,63}$" }, "additionalProperties": { "type": "string", "enum": [ "DEFAULT", "DISABLED" ] } } }, "required": [ "APP_ENV", "API_BASE_URL", "REQUEST_TIMEOUT_MS", "MAX_RETRY_ATTEMPTS", "TELEMETRY_ENABLED", "AUTH_MODE", "RELEASE_MANIFEST_URL", "CONFIG_SCHEMA_VERSION", "CAPABILITY_OVERRIDES", "FEATURE_OVERRIDES" ], "additionalProperties": false }