{ "type": "object", "title": "CP1 - CMDB & ITSM Reconciliation Agent input", "properties": { "engagement_id": { "type": "string", "description": "The engagement being discovered, e.g. ENG-MERIDIAN-001." }, "run_id": { "type": "string", "description": "The discovery run; the same id across the workflow's steps." }, "tasks": { "type": "array", "items": { "type": "object", "properties": { "task_id": { "type": "string" }, "type": { "type": "string" }, "assigned_agent": { "type": "string" }, "target_ref": { "type": "string" }, "mcp_tool": { "type": "string" }, "depends_on": { "type": "array", "items": { "type": "string" } }, "batch": { "type": [ "integer", "null" ] }, "declared_rps": { "type": [ "number", "null" ] }, "evidence_artifact": { "type": "string" } }, "required": [ "task_id", "type", "target_ref" ] } }, "records": { "type": "array", "items": { "type": "object", "properties": { "canonical_id": { "type": "string" }, "scope_entry_id": { "type": [ "string", "null" ] }, "hostname": { "type": "string" }, "fqdn": { "type": "string" }, "asset_class": { "type": "string", "enum": [ "server", "network_device", "storage_array", "hypervisor", "crypto_appliance", "database", "cloud_resource" ] }, "environment": { "type": "string", "enum": [ "production", "non_production", "dr", "unknown" ] }, "os": { "type": "object", "properties": { "family": { "type": "string" }, "version": { "type": "string" } }, "required": [ "family", "version" ] }, "services": { "type": "array", "items": { "type": "string" } }, "facts": { "type": "object" }, "fact_source": { "type": "string" }, "sources": { "type": "array", "items": { "type": "object", "properties": { "source_type": { "type": "string", "enum": [ "scan", "cmdb", "itsm", "provider_api", "file" ] }, "source_ref": { "type": "string" }, "evidence_ref": { "type": [ "string", "null" ] } }, "required": [ "source_type", "source_ref" ] } }, "match_basis": { "type": "array", "items": { "type": "string", "enum": [ "serial", "cloud_resource_id", "fqdn", "hostname", "ip" ] } }, "conflicts": { "type": "array", "items": { "type": "object", "properties": { "field": { "type": "string" }, "values": { "type": "array", "items": { "type": "object", "properties": { "value": { "type": "string" }, "source_ref": { "type": "string" } }, "required": [ "value", "source_ref" ] } } }, "required": [ "field", "values" ] } }, "confidence": { "type": "number", "minimum": 0, "maximum": 1 } }, "required": [ "canonical_id", "hostname", "asset_class", "environment", "os", "facts", "fact_source", "sources", "match_basis", "conflicts", "confidence" ] } } }, "required": [ "engagement_id", "tasks", "records" ] }