Refresh Codex protocol schemas
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "AccountRateLimitsUpdatedNotification",
|
||||
"description": "Sparse rolling rate-limit update.\n\nClients should merge available values into the most recent `account/rateLimits/read` response or refetch that snapshot. Nullable account metadata may be unavailable in a rolling update and does not clear a previously observed value.",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"rateLimits"
|
||||
@@ -72,6 +73,16 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"individualLimit": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/SpendControlLimitSnapshot"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"limitId": {
|
||||
"type": [
|
||||
"string",
|
||||
@@ -151,6 +162,31 @@
|
||||
"format": "int64"
|
||||
}
|
||||
}
|
||||
},
|
||||
"SpendControlLimitSnapshot": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"limit",
|
||||
"remainingPercent",
|
||||
"resetsAt",
|
||||
"used"
|
||||
],
|
||||
"properties": {
|
||||
"limit": {
|
||||
"type": "string"
|
||||
},
|
||||
"remainingPercent": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
},
|
||||
"resetsAt": {
|
||||
"type": "integer",
|
||||
"format": "int64"
|
||||
},
|
||||
"used": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user