{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/thousandeyes/json-schema/thousandeyes-usage-api-organizations-quotas-assign-schema.json",
  "title": "Usage_API_OrganizationsQuotasAssign",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thousandeyes-quotas-api-openapi.yml#/components/schemas/Usage_API_OrganizationsQuotasAssign",
  "type": "object",
  "properties": {
    "organizations": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Usage_API_OrganizationQuotaAssignment"
      }
    }
  },
  "$defs": {
    "Usage_API_AccountGroupQuota": {
      "type": "object",
      "properties": {
        "value": {
          "type": "integer",
          "format": "int64",
          "description": "Value of the quota for the given Account Group."
        },
        "aid": {
          "type": "string",
          "description": "Unique ID of the account group."
        }
      }
    },
    "Usage_API_OrganizationQuotaAssignment": {
      "type": "object",
      "properties": {
        "orgId": {
          "type": "string",
          "description": "Unique identifier of the organization."
        },
        "accountGroups": {
          "type": "array",
          "description": "List of account groups quotas.",
          "items": {
            "$ref": "#/$defs/Usage_API_AccountGroupQuota"
          }
        }
      }
    }
  }
}