{ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "urn:ald-transition:inventory", "type": "object", "properties": { "schema_version": { "const": 1 }, "source_system_id": { "type": "string", "maxLength": 36, "format": "uuid" }, "synthetic": { "type": "boolean" }, "scope": { "type": "object", "properties": { "description": { "type": "string", "maxLength": 4096 }, "complete": { "type": "boolean" }, "denied_or_unreachable": { "type": "array", "maxItems": 10000, "items": { "type": "string", "maxLength": 4096 } }, "categories": { "type": "array", "maxItems": 32, "items": { "type": "string", "maxLength": 128 } } }, "required": [ "description", "complete", "denied_or_unreachable", "categories" ], "additionalProperties": false }, "hosts": { "type": "array", "maxItems": 10000, "items": { "type": "object", "properties": { "id": { "type": "string", "maxLength": 36, "format": "uuid" }, "fqdn": { "type": "string", "maxLength": 253, "format": "hostname" }, "addresses": { "type": "array", "maxItems": 32, "items": { "type": "string", "maxLength": 45, "format": "ip-address" } }, "os_family": { "enum": [ "WINDOWS", "ASTRA", "LINUX", "UNKNOWN" ] }, "os_release": { "type": "string", "maxLength": 4096 }, "os_build": { "type": "string", "maxLength": 4096 }, "kernel": { "type": "string", "maxLength": 4096 }, "architecture": { "type": "string", "maxLength": 4096 }, "detected_roles": { "type": "array", "maxItems": 10000, "items": { "type": "string", "maxLength": 4096 } }, "observed_at": { "type": "string", "maxLength": 40, "format": "date-time" }, "evidence_ids": { "type": "array", "maxItems": 10000, "items": { "type": "string", "maxLength": 4096 } } }, "required": [ "id", "fqdn", "addresses", "os_family", "os_release", "os_build", "kernel", "architecture", "detected_roles", "observed_at", "evidence_ids" ], "additionalProperties": false } }, "objects": { "type": "array", "maxItems": 50000, "items": { "type": "object", "properties": { "source_system_id": { "type": "string", "maxLength": 36, "format": "uuid" }, "object_guid": { "type": "string", "maxLength": 36, "format": "uuid" }, "sid": { "type": "string", "maxLength": 184 }, "dn": { "type": "string", "maxLength": 4096 }, "object_type": { "enum": [ "user", "group", "organizationalUnit", "computer", "dns", "gpo", "share", "service", "dhcp", "certificate", "other" ] }, "attributes": { "type": "object", "additionalProperties": true }, "memberships": { "type": "array", "maxItems": 10000, "items": { "type": "string", "maxLength": 4096 } }, "observed_at": { "type": "string", "maxLength": 40, "format": "date-time" } }, "required": [ "source_system_id", "object_guid", "sid", "dn", "object_type", "attributes", "memberships", "observed_at" ], "additionalProperties": false } }, "source_domain": { "type": "string", "maxLength": 253, "format": "hostname" } }, "required": [ "schema_version", "source_system_id", "synthetic", "scope", "hosts", "objects", "source_domain" ], "additionalProperties": false }