{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/mongodb/main/json-schema/mongodb-data-federation-limit-schema.json",
  "title": "Limits",
  "description": "Details of user managed limits.",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mongodb-projects-api-openapi.yml#/components/schemas/DataFederationLimit",
  "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"
    },
    "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"
    },
    "value": {
      "description": "Amount to set the limit to.",
      "format": "int64",
      "type": "integer"
    }
  },
  "required": [
    "name",
    "value"
  ],
  "type": "object"
}