78 lines
1.5 KiB
JSON
78 lines
1.5 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"$id": "urn:ald-transition:ald-computers",
|
|
"type": "object",
|
|
"properties": {
|
|
"schema_version": {
|
|
"const": 1
|
|
},
|
|
"total": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"maximum": 10000000
|
|
},
|
|
"listed": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"maximum": 100
|
|
},
|
|
"computers": {
|
|
"type": "array",
|
|
"maxItems": 100,
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"fqdn": {
|
|
"type": "string",
|
|
"format": "hostname",
|
|
"maxLength": 253
|
|
},
|
|
"address": {
|
|
"type": "string",
|
|
"maxLength": 45
|
|
}
|
|
},
|
|
"required": [
|
|
"fqdn",
|
|
"address"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"list_complete": {
|
|
"type": "boolean"
|
|
},
|
|
"observed_at": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"source_ref": {
|
|
"const": "ALD31_REST_PACKAGE"
|
|
},
|
|
"scope": {
|
|
"const": "portal_visible_computers"
|
|
},
|
|
"migration_verified": {
|
|
"const": false
|
|
},
|
|
"controller": {
|
|
"type": "string",
|
|
"format": "hostname",
|
|
"maxLength": 253
|
|
}
|
|
},
|
|
"required": [
|
|
"schema_version",
|
|
"total",
|
|
"listed",
|
|
"computers",
|
|
"list_complete",
|
|
"observed_at",
|
|
"source_ref",
|
|
"scope",
|
|
"migration_verified",
|
|
"controller"
|
|
],
|
|
"additionalProperties": false
|
|
}
|