Couchbase · Schema

CapellaScope

Scope within a Capella bucket

AnalyticsApp ServicesBackupCapellaCloudDatabaseDBaaSEventingFull-Text SearchGatewayJSONMobileNoSQLReplicationSQL++SyncVector SearchXDCR

Properties

Name Type Description
name string Scope name
collections array Collections within the scope
View JSON Schema on GitHub

JSON Schema

couchbase-capellascope-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CapellaScope",
  "title": "CapellaScope",
  "type": "object",
  "description": "Scope within a Capella bucket",
  "properties": {
    "name": {
      "type": "string",
      "description": "Scope name"
    },
    "collections": {
      "type": "array",
      "description": "Collections within the scope",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Collection name"
          },
          "maxTTL": {
            "type": "integer",
            "description": "Maximum TTL in seconds"
          }
        }
      }
    }
  }
}