Files
popki/schemas/ald-computers-response.schema.json
T

44 lines
897 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "urn:ald-transition:ald-computers-response",
"type": "object",
"properties": {
"success": {
"const": true
},
"total": {
"type": "integer",
"minimum": 0,
"maximum": 10000000
},
"data": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"properties": {
"computerlistitem_name": {
"type": "string",
"format": "hostname",
"maxLength": 253
},
"computerlistitem_ip_address": {
"type": "string",
"maxLength": 45
}
},
"required": [
"computerlistitem_name"
],
"additionalProperties": true
}
}
},
"required": [
"success",
"total",
"data"
],
"additionalProperties": true
}