{ "$id": "https://raw.githubusercontent.com/xmtp/libxmtp/main/docs/schemas/backend-v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "Config", "description": "Complete backend configuration.", "type": "object", "properties": { "attachments": { "anyOf": [ { "$ref": "#/$defs/AttachmentsConfig" }, { "type": "null" } ] }, "auth": { "anyOf": [ { "$ref": "#/$defs/AuthConfig" }, { "type": "null" } ] }, "server": { "$ref": "#/$defs/ServerConfig", "default": { "identifier": null, "min_libxmtp_version": null, "listen": "0.0.0.0:5050", "log_level": "info", "log_format": "text", "request_logger": true, "max_drain_duration_ms": 10000 } }, "telemetry": { "$ref": "#/$defs/TelemetryConfig", "default": { "metrics_listen": "0.0.0.0:9464", "otlp_endpoint": null, "otlp_logs": false, "service_name": "xmtp-backend", "sample_ratio": 1.0, "resource_attributes": {} } }, "database": { "$ref": "#/$defs/DatabaseConfig" }, "publishing": { "$ref": "#/$defs/PublishingConfig", "default": { "max_publish_duration_ms": 10000, "max_barrier_wait_ms": 1000 } }, "streams": { "$ref": "#/$defs/StreamsConfig", "default": { "poll_interval_ms": 100, "max_gap_ranges": 10000, "keepalive_interval_ms": 30000, "max_pong_wait_ms": 90000 } }, "retention": { "$ref": "#/$defs/RetentionConfig", "default": { "group_message_seconds": 7776000, "welcome_seconds": 7776000, "key_package_seconds": 7776000 } }, "push": { "$ref": "#/$defs/PushConfig", "default": { "recipient_ttl_seconds": 2592000, "max_attempts": 3, "apns": null, "fcm": null, "http": null } }, "chains": { "type": "object", "propertyNames": { "pattern": "^eip155:(?!0[0-9])(18446744073709551615|[0-9]{1,19}|[0-0][0-9]{19}|1[0-7][0-9]{18}|18[0-3][0-9]{17}|184[0-3][0-9]{16}|1844[0-5][0-9]{15}|18446[0-6][0-9]{14}|184467[0-3][0-9]{13}|1844674[0-3][0-9]{12}|184467440[0-6][0-9]{10}|1844674407[0-2][0-9]{9}|18446744073[0-6][0-9]{8}|1844674407370[0-8][0-9]{6}|18446744073709[0-4][0-9]{5}|184467440737095[0-4][0-9]{4}|1844674407370955[0-0][0-9]{3}|18446744073709551[0-5][0-9]{2}|184467440737095516[0-0][0-9]{1}|1844674407370955161[0-4][0-9]{0})$(?![\\s\\S])" }, "additionalProperties": { "anyOf": [ { "type": "string", "format": "uri", "pattern": "^https?://[^\\s/?#]+[^\\s]*$" }, { "type": "string", "pattern": "^env:[^=\\x00]+$(?![\\s\\S])" } ] }, "default": {} }, "validation": { "$ref": "#/$defs/ValidationConfig", "default": { "max_scw_cache_entries": 10000 } }, "limits": { "$ref": "#/$defs/LimitsConfig", "default": { "max_push_topics": 100000, "max_query_topics": 1000, "default_query_limit": 100, "max_query_limit": 1000, "max_newest_metadata_topics": 1000, "max_newest_full_topics": 100, "max_publish_topics": 1000, "max_envelope_bytes": 1048576, "max_request_bytes": 26214400, "max_response_bytes": 26214400, "max_update_adds": 100000, "max_update_removes": 100000, "max_stream_topics": 100000, "max_static_topics": 10000, "max_lookup_identifiers": 250, "max_scw_signatures": 100, "max_identity_entries": 256, "max_http2_streams": 100, "max_update_frames_per_second": 10, "max_update_burst": 100, "max_ping_frames_per_second": 10, "max_ping_burst": 100 } }, "rate_limits": { "$ref": "#/$defs/RateLimitsSection", "default": { "enabled": true, "max_memory_mib": 100, "trusted_proxies": [], "categories": {}, "overrides": [] } }, "mls": { "$ref": "#/$defs/MlsConfig", "default": { "max_group_members": 250, "max_installations_per_inbox": 10, "commit_log_enabled": true } }, "handles": { "$ref": "#/$defs/HandlesConfig", "default": { "min_name_length": 3 } }, "application_components": { "description": "Group metadata fields clients register in the conversations they\ncreate. Published sorted by `component_id`.", "type": "array", "items": { "$ref": "#/$defs/ApplicationComponentConfig" }, "default": [] } }, "additionalProperties": false, "required": [ "database" ], "$defs": { "AttachmentsConfig": { "description": "Operator settings for remote attachment storage.", "type": "object", "properties": { "base_url": { "description": "Public download URL. An `env:NAME` value is resolved before validation.", "anyOf": [ { "type": "string", "format": "uri", "pattern": "^(?!.*(?:/)(?:\\.|%2[eE]){1,2}(?:/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1|0{1,4}:0{1,4}:0{1,4}::0{1,4}:0{1,4}:0\\.0\\.0\\.1|0{1,4}:0{1,4}:0{1,4}:0{1,4}::0\\.0\\.0\\.1|0{1,4}:0{1,4}:0{1,4}:0{1,4}::0{1,4}:0\\.0\\.0\\.1|0{1,4}:0{1,4}:0{1,4}:0{1,4}:0{1,4}::0\\.0\\.0\\.1)\\]))(?::(?:0*(?:[1-9][0-9]{0,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?)?(?:/[A-Za-z0-9._~!$&'()*+,;=:@/%-]*)*$(?![\\s\\S])" }, { "type": "string", "pattern": "^env:[^=\\x00]+$(?![\\s\\S])" } ] }, "max_upload_bytes": { "type": [ "integer", "null" ], "format": "uint64", "minimum": 1, "maximum": 4294967295 }, "retention_seconds": { "type": [ "integer", "null" ], "format": "uint64", "minimum": 0, "maximum": 9007199254740991 }, "target": { "$ref": "#/$defs/TargetConfig" } }, "additionalProperties": false, "required": [ "base_url", "target" ] }, "TargetConfig": { "description": "A storage target. The variant name is an operator config key.", "oneOf": [ { "type": "object", "properties": { "S3": { "$ref": "#/$defs/S3Config" } }, "required": [ "S3" ], "additionalProperties": false } ] }, "S3Config": { "description": "S3-compatible path-style target settings.", "type": "object", "properties": { "endpoint": { "description": "Storage URL. An `env:NAME` value is resolved before validation.", "anyOf": [ { "type": "string", "format": "uri", "pattern": "^(?:[hH][tT][tT][pP][sS]://(?:[A-Za-z0-9._~!$&'()*+,;=-]+|\\[(?:[0-9A-Fa-f:]+|(?:[0-9A-Fa-f]{1,4}:){6}(?:0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(?:0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(?:0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(?:0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])|::(?:0|[1-9][0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553[0-5]))?)?(?:/[A-Za-z0-9._~!$&'()*+,;=:@/%-]*)*$(?![\\s\\S])" }, { "type": "string", "pattern": "^env:[^=\\x00]+$(?![\\s\\S])" } ] }, "region": { "description": "Region name. An `env:NAME` value is resolved before validation.", "anyOf": [ { "type": "string", "pattern": "^[^\\s]+$(?![\\s\\S])" }, { "type": "string", "pattern": "^env:[^=\\x00]+$(?![\\s\\S])" } ] }, "bucket": { "description": "Bucket name. An `env:NAME` value is resolved before validation.", "anyOf": [ { "type": "string", "pattern": "^(?!\\.{1,2}$(?![\\s\\S]))[^/]+$(?![\\s\\S])" }, { "type": "string", "pattern": "^env:[^=\\x00]+$(?![\\s\\S])" } ] }, "key_prefix": { "description": "The prefix can be empty. Other prefixes use ASCII letters, digits,\n`_`, `-`, `.`, and slash separators. A trailing slash is allowed.\nLeading slashes, empty interior segments, and `.` or `..` segments are invalid.\nAn `env:NAME` value is resolved before validation.", "anyOf": [ { "type": "string", "pattern": "^(?!/)(?!.*//)(?!.*(?:^|/)\\.{1,2}(?:/|$))[A-Za-z0-9_./-]*(?![\\s\\S])" }, { "type": "string", "pattern": "^env:[^=\\x00]+$(?![\\s\\S])" } ], "default": "" }, "credentials": { "$ref": "#/$defs/CredentialsConfig" }, "presign_ttl_seconds": { "type": [ "integer", "null" ], "format": "uint32", "minimum": 300, "maximum": 3600 } }, "additionalProperties": false, "required": [ "endpoint", "region", "bucket", "credentials" ] }, "CredentialsConfig": { "description": "Credential source for signing. Debug never prints its fields.", "oneOf": [ { "type": "object", "properties": { "access_key_id": { "type": "string", "minLength": 1 }, "secret_access_key": { "type": "string", "minLength": 1 }, "session_token": { "type": [ "string", "null" ] }, "kind": { "type": "string", "const": "static" } }, "additionalProperties": false, "required": [ "kind", "access_key_id", "secret_access_key" ] }, { "type": "object", "properties": { "kind": { "type": "string", "const": "default_chain" } }, "required": [ "kind" ], "additionalProperties": false }, { "type": "object", "properties": { "kind": { "type": "string", "const": "environment" } }, "required": [ "kind" ], "additionalProperties": false }, { "type": "object", "properties": { "name": { "type": "string", "minLength": 1 }, "kind": { "type": "string", "const": "profile" } }, "additionalProperties": false, "required": [ "kind", "name" ] }, { "type": "object", "properties": { "account_id": { "type": "string", "minLength": 1 }, "region": { "type": "string", "minLength": 1 }, "role_name": { "type": "string", "minLength": 1 }, "start_url": { "type": "string", "minLength": 1 }, "session_name": { "type": [ "string", "null" ] }, "kind": { "type": "string", "const": "sso" } }, "additionalProperties": false, "required": [ "kind", "account_id", "region", "role_name", "start_url" ] }, { "type": "object", "properties": { "command": { "type": "string", "minLength": 1 }, "kind": { "type": "string", "const": "process" } }, "additionalProperties": false, "required": [ "kind", "command" ] }, { "type": "object", "properties": { "kind": { "type": "string", "const": "web_identity" } }, "required": [ "kind" ], "additionalProperties": false }, { "type": "object", "properties": { "kind": { "type": "string", "const": "container" } }, "required": [ "kind" ], "additionalProperties": false }, { "type": "object", "properties": { "kind": { "type": "string", "const": "instance" } }, "required": [ "kind" ], "additionalProperties": false }, { "type": "object", "properties": { "role_arn": { "type": "string", "minLength": 1 }, "external_id": { "type": [ "string", "null" ] }, "session_name": { "type": [ "string", "null" ] }, "kind": { "type": "string", "const": "assume_role" } }, "additionalProperties": false, "required": [ "kind", "role_arn" ] } ] }, "AuthConfig": { "type": "object", "properties": { "enabled": { "description": "Check a credential on every RPC except the unauthenticated health and\nconfiguration services. Required whenever `[auth]` is present; false\nleaves every other field in this section unread.", "type": "boolean", "default": null }, "jwks_url": { "description": "Fetch signing keys from HTTPS, or HTTP on a loopback host.", "anyOf": [ { "anyOf": [ { "type": "string", "format": "uri", "pattern": "^https?://" }, { "type": "string", "pattern": "^env:[^=\\x00]+$(?![\\s\\S])" } ] }, { "type": "null" } ], "default": null }, "keys": { "description": "Inline public signing keys. Cannot be combined with jwks_url.", "type": [ "array", "null" ], "items": { "$ref": "#/$defs/AuthKeyConfig" }, "default": null }, "api_keys": { "description": "Named static API keys. Values can be supplied with env:NAME.", "type": "object", "maxProperties": 256, "propertyNames": { "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$(?![\\s\\S])" }, "additionalProperties": { "anyOf": [ { "type": "string", "minLength": 32, "maxLength": 8192, "pattern": "^[!-~]+$(?![\\s\\S])" }, { "type": "string", "pattern": "^env:[^=\\x00]+$(?![\\s\\S])" } ] }, "default": {} }, "audiences": { "description": "Require an audience that matches one of these values when set.", "type": [ "array", "null" ], "items": { "type": "string" }, "default": null }, "issuers": { "description": "Require an issuer that matches one of these values when set.", "type": [ "array", "null" ], "items": { "type": "string" }, "default": null }, "required_scopes": { "description": "Require every one of these scopes on every authenticated RPC.", "type": "array", "items": { "type": "string" }, "default": [] }, "leeway_seconds": { "type": "integer", "format": "uint64", "minimum": 0, "maximum": 300, "default": 60 }, "jwks_refresh_seconds": { "type": "integer", "format": "uint64", "minimum": 1, "default": 300 }, "jwks_max_stale_seconds": { "description": "Must be at least the refresh interval plus the ten-second fetch timeout.", "type": "integer", "format": "uint64", "minimum": 0, "maximum": 4294967295, "default": 3600 } }, "additionalProperties": false }, "AuthKeyConfig": { "type": "object", "properties": { "kid": { "type": "string", "minLength": 1, "maxLength": 256, "default": "" }, "alg": { "type": "string", "enum": [ "RS256", "RS384", "RS512", "ES256", "ES384", "EdDSA" ] }, "public_key": { "description": "PEM SubjectPublicKeyInfo for the selected algorithm, or env:NAME.", "anyOf": [ { "type": "string", "pattern": "^-----BEGIN PUBLIC KEY-----" }, { "type": "string", "pattern": "^env:[^=\\x00]+$(?![\\s\\S])" } ] } }, "additionalProperties": false, "required": [ "alg", "public_key" ] }, "ServerConfig": { "type": "object", "properties": { "identifier": { "description": "Stable operator-chosen name for this deployment, by convention reverse\nDNS such as `org.xmtp.dev`. Clients bind to it on first connect, so it\nmust never change once clients have connected. Required.", "anyOf": [ { "anyOf": [ { "type": "string", "minLength": 1, "maxLength": 256, "pattern": "^[^\\s\\x00-\\x1f\\x7f-\\x9f]+$(?![\\s\\S])" }, { "type": "string", "pattern": "^env:[^=\\x00]+$(?![\\s\\S])" } ] }, { "type": "null" } ], "default": null }, "min_libxmtp_version": { "description": "Oldest libxmtp version this deployment accepts. Absent publishes no\nminimum. Prerelease tags are ignored when clients compare.", "anyOf": [ { "anyOf": [ { "type": "string", "pattern": "^(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)(?:-(?:0|[1-9][0-9]*|[0-9]*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9][0-9]*|[0-9]*[a-zA-Z-][0-9a-zA-Z-]*))*)?(?:\\+[0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*)?$(?![\\s\\S])" }, { "type": "string", "pattern": "^env:[^=\\x00]+$(?![\\s\\S])" } ] }, { "type": "null" } ], "default": null }, "listen": { "anyOf": [ { "type": "string", "pattern": "^((0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])|\\[([0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}|[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])|::|::[0-9a-fA-F]{1,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|2[0-4][0-9]|25[0-5])|[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}::[0-9a-fA-F]{1,4}:(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])|[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}::(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5]))(%0*(4294967295|[0-9]{1,9}|[0-3][0-9]{9}|4[0-1][0-9]{8}|42[0-8][0-9]{7}|429[0-3][0-9]{6}|4294[0-8][0-9]{5}|42949[0-5][0-9]{4}|429496[0-6][0-9]{3}|4294967[0-1][0-9]{2}|42949672[0-8][0-9]{1}|429496729[0-4][0-9]{0}))?\\]):0*(65535|[0-9]{1,4}|[0-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]{1}|6553[0-4][0-9]{0})$(?![\\s\\S])" }, { "type": "string", "pattern": "^env:[^=\\x00]+$(?![\\s\\S])" } ], "default": "0.0.0.0:5050" }, "log_level": { "description": "Global backend log level. Request summaries and mutations use INFO.", "anyOf": [ { "$ref": "#/$defs/LogLevel" }, { "type": "string", "pattern": "^env:[^=\\x00]+$(?![\\s\\S])" } ], "default": "info" }, "log_format": { "anyOf": [ { "$ref": "#/$defs/LogFormat" }, { "type": "string", "pattern": "^env:[^=\\x00]+$(?![\\s\\S])" } ], "default": "text" }, "request_logger": { "description": "Emit one summary when each gRPC response finishes or is cancelled.", "type": "boolean", "default": true }, "max_drain_duration_ms": { "type": "integer", "minimum": 1, "maximum": 4294967295, "default": 10000 } }, "additionalProperties": false }, "LogLevel": { "description": "Configuration and CLI representation of the shared logging levels.", "type": "string", "enum": [ "off", "error", "warn", "info", "debug", "trace" ] }, "LogFormat": { "description": "Stdout encoding. Each JSON event occupies one line.", "type": "string", "enum": [ "text", "json" ] }, "TelemetryConfig": { "description": "Metrics and optional OTLP export. Endpoint values are never included in errors.", "type": "object", "properties": { "metrics_listen": { "description": "Separate Prometheus listener. An empty string disables the listener.", "anyOf": [ { "anyOf": [ { "type": "string", "pattern": "^((0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])|\\[([0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}|[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])|::|::[0-9a-fA-F]{1,4}|::[0-9a-fA-F]{1,4}:[0-9a-fA-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{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}::[0-9a-fA-F]{1,4}:(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])|[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}::(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5]))(%0*(4294967295|[0-9]{1,9}|[0-3][0-9]{9}|4[0-1][0-9]{8}|42[0-8][0-9]{7}|429[0-3][0-9]{6}|4294[0-8][0-9]{5}|42949[0-5][0-9]{4}|429496[0-6][0-9]{3}|4294967[0-1][0-9]{2}|42949672[0-8][0-9]{1}|429496729[0-4][0-9]{0}))?\\]):0*(65535|[0-9]{1,4}|[0-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]{1}|6553[0-4][0-9]{0})$(?![\\s\\S])" }, { "type": "string", "pattern": "^env:[^=\\x00]+$(?![\\s\\S])" } ] }, { "const": "" } ], "default": "0.0.0.0:9464" }, "otlp_endpoint": { "description": "OTLP gRPC endpoint; absent uses OTEL_EXPORTER_OTLP_ENDPOINT.", "anyOf": [ { "anyOf": [ { "type": "string", "format": "uri", "pattern": "^https?://[^\\s/?#]+[^\\s]*$" }, { "type": "string", "pattern": "^env:[^=\\x00]+$(?![\\s\\S])" } ] }, { "type": "null" } ], "default": null }, "otlp_logs": { "type": "boolean", "default": false }, "service_name": { "type": "string", "default": "xmtp-backend" }, "sample_ratio": { "type": "number", "format": "double", "minimum": 0.0, "maximum": 1.0, "default": 1.0 }, "resource_attributes": { "type": "object", "propertyNames": { "not": { "enum": [ "service.name", "service.version", "xmtp.backend.identifier" ] } }, "additionalProperties": { "type": "string" }, "default": {} } }, "additionalProperties": false }, "DatabaseConfig": { "type": "object", "properties": { "url": { "anyOf": [ { "type": "string", "format": "uri", "pattern": "^postgres(ql)?://[^\\s]+$" }, { "type": "string", "pattern": "^env:[^=\\x00]+$(?![\\s\\S])" } ] }, "replica_url": { "anyOf": [ { "anyOf": [ { "type": "string", "format": "uri", "pattern": "^postgres(ql)?://[^\\s]+$" }, { "type": "string", "pattern": "^env:[^=\\x00]+$(?![\\s\\S])" } ] }, { "type": "null" } ], "default": null }, "max_connections": { "type": "integer", "minimum": 1, "maximum": 4294967295, "default": 20 }, "max_statement_timeout_ms": { "type": "integer", "format": "uint64", "minimum": 1, "maximum": 2147483647, "default": 5000 } }, "additionalProperties": false, "required": [ "url" ] }, "PublishingConfig": { "type": "object", "properties": { "max_publish_duration_ms": { "type": "integer", "format": "uint64", "minimum": 1, "maximum": 2147483647, "default": 10000 }, "max_barrier_wait_ms": { "type": "integer", "format": "uint64", "minimum": 1, "maximum": 2147483647, "default": 1000 } }, "additionalProperties": false }, "StreamsConfig": { "type": "object", "properties": { "poll_interval_ms": { "description": "Interval between push dispatcher polls of the read database, and the\nlongest wait between stream tailer polls. After a poll that finds\nenvelopes, the tailer polls again after 50 ms, or after this interval\nwhen it is shorter.", "type": "integer", "minimum": 1, "maximum": 4294967295, "default": 100 }, "max_gap_ranges": { "type": "integer", "minimum": 1, "maximum": 18446744073709551615, "default": 10000 }, "keepalive_interval_ms": { "type": "integer", "minimum": 1, "maximum": 4294967295, "default": 30000 }, "max_pong_wait_ms": { "type": "integer", "minimum": 1, "maximum": 4294967295, "default": 90000 } }, "additionalProperties": false }, "RetentionConfig": { "type": "object", "properties": { "group_message_seconds": { "type": "integer", "format": "uint64", "minimum": 1, "maximum": 9223372036, "default": 7776000 }, "welcome_seconds": { "type": "integer", "format": "uint64", "minimum": 1, "maximum": 9223372036, "default": 7776000 }, "key_package_seconds": { "type": "integer", "format": "uint64", "minimum": 1, "maximum": 9223372036, "default": 7776000 } }, "additionalProperties": false }, "PushConfig": { "type": "object", "properties": { "recipient_ttl_seconds": { "description": "Time without renewal before a recipient expires, in seconds.", "type": "integer", "format": "int64", "minimum": 86400, "maximum": 9223372036, "default": 2592000 }, "max_attempts": { "description": "Maximum provider attempts for each delivery.", "type": "integer", "format": "int64", "minimum": 1, "maximum": 10, "default": 3 }, "apns": { "description": "APNs is available only when this block is present.", "anyOf": [ { "$ref": "#/$defs/ApnsConfig" }, { "type": "null" } ], "default": null }, "fcm": { "description": "FCM is available only when this block is present.", "anyOf": [ { "$ref": "#/$defs/FcmConfig" }, { "type": "null" } ], "default": null }, "http": { "description": "HTTPS webhooks are available only when this block is present.", "anyOf": [ { "$ref": "#/$defs/HttpConfig" }, { "type": "null" } ], "default": null } }, "additionalProperties": false }, "ApnsConfig": { "type": "object", "properties": { "key": { "description": "PKCS#8 PEM credential; accepts an env:NAME reference.", "type": "string" }, "key_id": { "description": "Apple signing-key identifier.", "type": "string" }, "team_id": { "description": "Apple developer team identifier.", "type": "string" }, "bundle_id": { "description": "Application bundle identifier used as the APNs topic.", "type": "string" }, "environment": { "description": "Either production or sandbox.", "anyOf": [ { "type": "string", "enum": [ "production", "sandbox" ] }, { "type": "string", "pattern": "^env:[^=\\x00]+$(?![\\s\\S])" } ] } }, "additionalProperties": false, "required": [ "key", "key_id", "team_id", "bundle_id", "environment" ] }, "FcmConfig": { "type": "object", "properties": { "service_account": { "description": "Service-account JSON credential; accepts an env:NAME reference.", "type": "string" } }, "additionalProperties": false, "required": [ "service_account" ] }, "HttpConfig": { "type": "object", "properties": { "allowed_domains": { "description": "Allowed hosts, with an optional leading *. wildcard. Absent allows all hosts.", "type": [ "array", "null" ], "items": { "type": "string" }, "default": null }, "allow_private_addresses": { "description": "Permit private and local network addresses. Defaults to false.", "type": "boolean", "default": false } }, "additionalProperties": false }, "ValidationConfig": { "type": "object", "properties": { "max_scw_cache_entries": { "type": "integer", "minimum": 1, "maximum": 18446744073709551615, "default": 10000 } }, "additionalProperties": false }, "LimitsConfig": { "type": "object", "properties": { "max_push_topics": { "description": "Maximum stored topics for one push recipient.", "type": "integer", "minimum": 1, "maximum": 2147483647, "default": 100000 }, "max_query_topics": { "type": "integer", "minimum": 1, "maximum": 4294967295, "default": 1000 }, "default_query_limit": { "type": "integer", "minimum": 1, "maximum": 4294967295, "default": 100 }, "max_query_limit": { "type": "integer", "minimum": 1, "maximum": 4294967295, "default": 1000 }, "max_newest_metadata_topics": { "type": "integer", "minimum": 1, "maximum": 4294967295, "default": 1000 }, "max_newest_full_topics": { "type": "integer", "minimum": 1, "maximum": 4294967295, "default": 100 }, "max_publish_topics": { "type": "integer", "minimum": 1, "maximum": 4294967295, "default": 1000 }, "max_envelope_bytes": { "type": "integer", "minimum": 1, "maximum": 18446744073709551615, "default": 1048576 }, "max_request_bytes": { "type": "integer", "minimum": 1, "maximum": 18446744073709551615, "default": 26214400 }, "max_response_bytes": { "type": "integer", "minimum": 1, "maximum": 18446744073709551615, "default": 26214400 }, "max_update_adds": { "type": "integer", "minimum": 1, "maximum": 4294967295, "default": 100000 }, "max_update_removes": { "type": "integer", "minimum": 1, "maximum": 4294967295, "default": 100000 }, "max_stream_topics": { "type": "integer", "minimum": 1, "maximum": 4294967295, "default": 100000 }, "max_static_topics": { "type": "integer", "minimum": 1, "maximum": 4294967295, "default": 10000 }, "max_lookup_identifiers": { "type": "integer", "minimum": 1, "maximum": 4294967295, "default": 250 }, "max_scw_signatures": { "description": "At most two for each action one identity update may carry, the most\nERC-6492 signatures one update holds.", "type": "integer", "minimum": 1, "maximum": 200, "default": 100 }, "max_identity_entries": { "type": "integer", "minimum": 1, "maximum": 4294967295, "default": 256 }, "max_http2_streams": { "type": "integer", "minimum": 1, "maximum": 4294967295, "default": 100 }, "max_update_frames_per_second": { "type": "integer", "minimum": 1, "maximum": 4294967295, "default": 10 }, "max_update_burst": { "type": "integer", "minimum": 1, "maximum": 4294967295, "default": 100 }, "max_ping_frames_per_second": { "type": "integer", "minimum": 1, "maximum": 4294967295, "default": 10 }, "max_ping_burst": { "type": "integer", "minimum": 1, "maximum": 4294967295, "default": 100 } }, "additionalProperties": false }, "RateLimitsSection": { "description": "The `[rate_limits]` table as the file writes it. `ValidatedConfig::rate_limits`\ngives the limits it resolves to.", "type": "object", "properties": { "enabled": { "description": "Charge requests to callers and refuse work over their limits. False\nadmits every request.", "type": "boolean", "default": true }, "max_memory_mib": { "description": "The most memory the limiter's state may use, in MiB.", "type": "integer", "format": "uint32", "minimum": 1, "maximum": 65536, "default": 100 }, "trusted_proxies": { "description": "Networks of proxies whose `X-Forwarded-For` entries name the client.\nStartup also refuses a network with a bit set after its prefix. An\nIPv4-mapped network matches the IPv4 addresses it maps.", "type": "array", "items": { "anyOf": [ { "type": "string", "pattern": "^(((0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5]))/0*(32|[0-9]{1,1}|[0-2][0-9]{1}|3[0-1][0-9]{0})|([0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}|[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:(0|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0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}::(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])|[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}::[0-9a-fA-F]{1,4}:(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])|[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}::(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5]))/0*(128|[0-9]{1,2}|[0-0][0-9]{2}|1[0-1][0-9]{1}|12[0-7][0-9]{0}))$(?![\\s\\S])" }, { "type": "string", "pattern": "^env:[^=\\x00]+$(?![\\s\\S])" } ] }, "default": [] }, "categories": { "description": "Limits for each category, by tier: `default`, `ip`, `jwt`, or\n`api_key`. A tier left out gets the category's `default`, and a\ncategory without `default` gets the default limits of RATE section 3.\nNames are checked at validation, so a refusal can name the key.", "type": "object", "propertyNames": { "enum": [ "request", "publish", "identity_update", "chain_verify", "push", "upload", "stream_rent" ] }, "additionalProperties": { "type": "object", "propertyNames": { "enum": [ "default", "ip", "jwt", "api_key" ] }, "additionalProperties": { "type": "array", "items": { "$ref": "#/$defs/LimitConfig" } } }, "default": {} }, "overrides": { "description": "Limits for one caller, which replace every other limit of the\ncategories they name.", "type": "array", "items": { "$ref": "#/$defs/RateLimitOverride" }, "default": [] } }, "additionalProperties": false }, "LimitConfig": { "description": "One limit: a sustained `count` units per `window_seconds`, with a burst of\nup to `count` units.", "type": "object", "properties": { "count": { "type": "integer", "minimum": 1, "maximum": 4294967295 }, "window_seconds": { "type": "integer", "format": "uint32", "minimum": 1, "maximum": 2592000 } }, "additionalProperties": false, "required": [ "count", "window_seconds" ] }, "RateLimitOverride": { "description": "One entry of `rate_limits.overrides`: exactly one of `api_key`,\n`jwt_subject`, and `ip` names the caller.", "type": "object", "properties": { "api_key": { "description": "An API key name.", "anyOf": [ { "type": "string", "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$(?![\\s\\S])" }, { "type": "string", "pattern": "^env:[^=\\x00]+$(?![\\s\\S])" } ] }, "jwt_issuer": { "description": "The token's `iss`. Absent names a token with no `iss`.", "type": "string" }, "jwt_subject": { "description": "The token's `sub`.", "type": "string", "minLength": 1 }, "ip": { "description": "An IP address. An IPv6 address names its /64.", "anyOf": [ { "type": "string", "pattern": "^((0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])|[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}|[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4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2}|2[0-4][0-9]|25[0-5])|[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}::(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])|[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}::[0-9a-fA-F]{1,4}:(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])|[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}:[0-9a-fA-F]{1,4}::(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(0|[1-9][0-9]?|1[0-9]{2}|2[0-4][0-9]|25[0-5]))$(?![\\s\\S])" }, { "type": "string", "pattern": "^env:[^=\\x00]+$(?![\\s\\S])" } ] }, "limits": { "description": "Limits by category name.", "type": "object", "propertyNames": { "enum": [ "request", "publish", "identity_update", "chain_verify", "push", "upload", "stream_rent" ] }, "additionalProperties": { "type": "array", "items": { "$ref": "#/$defs/LimitConfig" } } } }, "additionalProperties": false, "required": [ "limits" ] }, "MlsConfig": { "description": "Advisory group shapes published to clients. The backend enforces none of\nthem; a client applies them before it builds a commit.", "type": "object", "properties": { "max_group_members": { "type": "integer", "minimum": 1, "maximum": 65535, "default": 250 }, "max_installations_per_inbox": { "description": "At most the number of actions one identity update may carry, so one\nupdate can revoke every installation the ceiling allows.", "type": "integer", "minimum": 1, "maximum": 100, "default": 10 }, "commit_log_enabled": { "description": "Publish and read the remote commit log. False switches both off for\nevery client of this deployment.", "type": "boolean", "default": true } }, "additionalProperties": false }, "HandlesConfig": { "type": "object", "properties": { "min_name_length": { "description": "The shortest name part, the text before `#`, admitted in a new claim.\nA change applies only to later claims; handles claimed before it stay\nvalid.", "type": "integer", "format": "uint32", "minimum": 1, "maximum": 27, "default": 3 } }, "additionalProperties": false }, "ApplicationComponentConfig": { "description": "One application component. Every key is required; there are no defaults,\nbecause a published definition should not change once conversations use it.", "type": "object", "properties": { "component_id": { "description": "A number in `0xC000`–`0xFEFF`.", "type": "integer", "format": "uint16", "minimum": 49152, "maximum": 65279 }, "name": { "description": "A label and lookup key, 1 to 100 UTF-8 bytes. The schema can bound only\ncharacters, so startup checks bytes. Prefix a field that holds one\nvalue per inbox with `USER_`, as the well-known user fields are.", "type": "string", "minLength": 1, "maxLength": 100 }, "component_type": { "$ref": "#/$defs/ComponentTypeConfig" }, "insert_policy": { "$ref": "#/$defs/PolicyConfig" }, "update_policy": { "$ref": "#/$defs/PolicyConfig" }, "delete_policy": { "$ref": "#/$defs/PolicyConfig" }, "in_groups": { "description": "Register in new groups.", "type": "boolean" }, "in_dms": { "description": "Register in new DMs.", "type": "boolean" } }, "additionalProperties": false, "required": [ "component_id", "name", "component_type", "insert_policy", "update_policy", "delete_policy", "in_groups", "in_dms" ] }, "ComponentTypeConfig": { "description": "The value shape of a component, one per `ComponentType`.", "type": "string", "enum": [ "bytes", "string", "tls_map_bytes_bytes", "tls_map_inbox_id_bytes", "tls_set_bytes", "tls_set_inbox_id", "tls_map_inbox_id_string" ] }, "PolicyConfig": { "description": "Who may insert, update, or delete a value, one per `MetadataBasePolicy`.", "type": "string", "enum": [ "allow", "deny", "allow_if_admin", "allow_if_super_admin", "allow_if_self_or_non_member" ] } } }