功能修改
This commit is contained in:
+29
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "SCUMMaintenancePreparePayload",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["scope", "noticeSeconds", "reason"],
|
||||
"properties": {
|
||||
"scope": {
|
||||
"type": "string",
|
||||
"maxLength": 16,
|
||||
"enum": ["server", "database", "companion"]
|
||||
},
|
||||
"noticeSeconds": {
|
||||
"type": "integer",
|
||||
"minimum": 60,
|
||||
"maximum": 86400
|
||||
},
|
||||
"estimatedDurationSeconds": {
|
||||
"type": "integer",
|
||||
"minimum": 60,
|
||||
"maximum": 86400
|
||||
},
|
||||
"reason": {
|
||||
"type": "string",
|
||||
"minLength": 1,
|
||||
"maxLength": 200
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user