{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/mongodb/main/json-schema/mongodb-data-federation-tenant-query-limit-schema.json", "title": "Data Federation Tenant-Level Query Limit", "description": "Details of a tenant-level query limit for Data Federation. Query limit is the limit on the amount of usage during a time period based on cost.", "x-generated": "2026-10-03", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/mongodb-data-federation-api-openapi.yml#/components/schemas/DataFederationTenantQueryLimit", "properties": { "currentUsage": { "description": "Amount that indicates the current usage of the limit.", "format": "int64", "readOnly": true, "type": "integer" }, "defaultLimit": { "description": "Default value of the limit.", "format": "int64", "readOnly": true, "type": "integer" }, "lastModifiedDate": { "description": "Only used for Data Federation limits. Timestamp that indicates when this usage limit was last modified. This field uses the ISO 8601 timestamp format in UTC.", "format": "date-time", "readOnly": true, "type": "string" }, "maximumLimit": { "description": "Maximum value of the limit.", "format": "int64", "readOnly": true, "type": "integer" }, "name": { "description": "Human-readable label that identifies the user-managed limit to modify.", "readOnly": true, "type": "string" }, "overrunPolicy": { "description": "Only used for Data Federation limits. Action to take when the usage limit is exceeded. If limit span is set to QUERY, this is ignored because MongoDB Cloud stops the query when it exceeds the usage limit.", "enum": [ "BLOCK", "BLOCK_AND_KILL" ], "type": "string" }, "tenantName": { "description": "Human-readable label that identifies the Federated Database Instance. If specified, the usage limit is for the specified federated database instance only. If omitted, the usage limit is for all federated database instances in the project.", "readOnly": true, "type": "string" }, "value": { "description": "Amount to set the limit to.", "format": "int64", "type": "integer" } }, "required": [ "name", "value" ], "type": "object" }