{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/mongodb/main/json-schema/mongodb-namespaces-schema.json", "title": "Namespaces", "x-generated": "2026-10-03", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/mongodb-performance-advisor-api-openapi.yml#/components/schemas/Namespaces", "properties": { "namespaces": { "description": "List that contains each combination of database, collection, and type on the specified host.", "items": { "$ref": "#/$defs/NamespaceObj" }, "readOnly": true, "type": "array", "uniqueItems": true } }, "type": "object", "$defs": { "NamespaceObj": { "description": "Human-readable label that identifies the namespace on the specified host. The resource expresses this parameter value as `.`.", "properties": { "namespace": { "description": "Human-readable label that identifies the namespace on the specified host. The resource expresses this parameter value as `.`.", "readOnly": true, "type": "string" }, "type": { "default": "collection", "description": "Human-readable label that identifies the type of namespace.", "enum": [ "collection" ], "readOnly": true, "type": "string" } }, "readOnly": true, "type": "object" } } }