You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
the-bastion/json-schema/plugins/ping.jsonschema

52 lines
994 B

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://ovh.github.io/the-bastion/schemas/plugins/ping",
"type": "object",
"allowAdditionalProperties": false,
"required":["sysret","host"],
"properties": {
"max": {
"type": "number",
"minimum": 0
},
"sysret": {
"type": "integer",
"minimum": 0,
"maximum": 255
},
"packets_received": {
"type": "integer",
"minimum": 0
},
"host": {
"type": "string",
"format": "hostname"
},
"packets_loss_percentage": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"min": {
"type": "number",
"minimum": 0
},
"ping_duration": {
"type": "integer",
"minimum": 0
},
"mdev": {
"type": "number",
"minimum": 0
},
"packets_transmitted": {
"type": "integer",
"minimum": 0
},
"avg": {
"type": "number",
"minimum": 0
}
}
}