К содержимому

AccountLimitBucket ​

Тип: object additionalProperties: false

ПолеОбязательноеТипОписание и ограничения
limit_idДаstring
limit_nameДаstring / null
plan_typeДаstring / null
rate_limit_reached_typeДаstring / null
primaryДаAccountLimitWindow / null
secondaryДаAccountLimitWindow / null

JSON Schema ​

json
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "limit_id",
    "limit_name",
    "plan_type",
    "rate_limit_reached_type",
    "primary",
    "secondary"
  ],
  "properties": {
    "limit_id": {
      "type": "string"
    },
    "limit_name": {
      "type": [
        "string",
        "null"
      ]
    },
    "plan_type": {
      "type": [
        "string",
        "null"
      ]
    },
    "rate_limit_reached_type": {
      "type": [
        "string",
        "null"
      ]
    },
    "primary": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/AccountLimitWindow"
        },
        {
          "type": "null"
        }
      ]
    },
    "secondary": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/AccountLimitWindow"
        },
        {
          "type": "null"
        }
      ]
    }
  }
}

Все схемы · HTTP API