{ "type": "object", "properties": { "report_id": { "type": "string" }, "engagement_id": { "type": "string" }, "drift_items": { "type": "array", "items": { "type": "object", "properties": { "drift_id": { "type": "string" }, "type": { "type": "string", "enum": [ "orphan", "ghost", "stale_attribute" ] }, "canonical_id": { "type": [ "string", "null" ] }, "ci_ref": { "type": [ "string", "null" ] }, "field": { "type": [ "string", "null" ] }, "discovered_value": { "type": [ "string", "null" ] }, "cmdb_value": { "type": [ "string", "null" ] }, "evidence_refs": { "type": "array", "items": { "type": "string" } }, "suggested_action": { "type": "string", "enum": [ "add_ci", "retire_ci", "update_attribute", "investigate" ] } }, "required": [ "drift_id", "type", "evidence_refs", "suggested_action" ] } }, "itsm_signals": { "type": "array", "items": { "type": "object", "properties": { "canonical_id": { "type": "string" }, "window_months": { "type": "integer" }, "incidents_total": { "type": "integer" }, "incidents_p1_p2": { "type": "integer" }, "changes_total": { "type": "integer" }, "changes_failed": { "type": "integer" }, "active_freeze": { "type": "object", "properties": { "active": { "type": "boolean" }, "until": { "type": [ "string", "null" ] }, "change_ref": { "type": [ "string", "null" ] } }, "required": [ "active", "until", "change_ref" ] } }, "required": [ "canonical_id", "window_months", "incidents_total", "incidents_p1_p2", "changes_total", "changes_failed", "active_freeze" ] } }, "summary": { "type": "object", "properties": { "matched": { "type": "integer" }, "orphans": { "type": "integer" }, "ghosts": { "type": "integer" }, "stale_attributes": { "type": "integer" } }, "required": [ "matched", "orphans", "ghosts", "stale_attributes" ] } }, "required": [ "report_id", "engagement_id", "drift_items", "itsm_signals", "summary" ], "title": "Drift report" }