功能修改
This commit is contained in:
@@ -0,0 +1,66 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "SCUMFlagsSnapshot",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["observedAt", "flags"],
|
||||
"properties": {
|
||||
"observedAt": {
|
||||
"type": "string",
|
||||
"maxLength": 64,
|
||||
"format": "date-time"
|
||||
},
|
||||
"flags": {
|
||||
"type": "array",
|
||||
"maxItems": 512,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["flagId", "status"],
|
||||
"properties": {
|
||||
"flagId": {
|
||||
"type": "string",
|
||||
"pattern": "^[A-Za-z0-9_.:-]{1,96}$"
|
||||
},
|
||||
"status": {
|
||||
"type": "string",
|
||||
"enum": ["active", "inactive", "contested", "unknown"]
|
||||
},
|
||||
"ownerPlayerId": {
|
||||
"type": "string",
|
||||
"pattern": "^[A-Za-z0-9_.:-]{1,96}$"
|
||||
},
|
||||
"squadId": {
|
||||
"type": "string",
|
||||
"pattern": "^[A-Za-z0-9_.:-]{1,96}$"
|
||||
},
|
||||
"radiusMeters": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 5000
|
||||
},
|
||||
"position": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["x", "y", "z"],
|
||||
"properties": {
|
||||
"x": { "type": "number", "minimum": -100000, "maximum": 100000 },
|
||||
"y": { "type": "number", "minimum": -100000, "maximum": 100000 },
|
||||
"z": { "type": "number", "minimum": -100000, "maximum": 100000 }
|
||||
}
|
||||
},
|
||||
"capturedAt": {
|
||||
"type": "string",
|
||||
"maxLength": 64,
|
||||
"format": "date-time"
|
||||
},
|
||||
"lastUpdatedAt": {
|
||||
"type": "string",
|
||||
"maxLength": 64,
|
||||
"format": "date-time"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user