{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/VirtualClusterNamespace", "title": "VirtualClusterNamespace", "description": "Namespace allows to implement multitenancy using a single backend cluster.\nIt allows to either hide or enforce a static prefix on resources (topics, consumer group IDs, transaction IDs).\n", "type": "object", "properties": { "mode": { "description": "* hide_prefix - the configured prefix is hidden from clients for topics and IDs when reading.\n\n\n Created resources are written with the prefix on the backend cluster.\n* enforce_prefix - the configured prefix remains visible to clients.\n\n\n Created resources must include the prefix or the request will fail.\n", "type": "string", "enum": [ "hide_prefix", "enforce_prefix" ], "x-speakeasy-unknown-values": "allow" }, "prefix": { "description": "The namespace is differentiated by this chosen prefix.\nFor example, if the prefix is set to \"analytics_\" the topic named \"analytics_user_clicks\" is available to the clients\nof the virtual cluster. Topics without the prefix will be ignored unless added via `additional.topics`.\n", "type": "string", "minLength": 1 }, "additional": { "$ref": "#/components/schemas/VirtualClusterNamespaceAdditionalProperties" } }, "required": [ "mode", "prefix" ] }