{ "type": "object", "properties": { "graph_id": { "type": "string" }, "engagement_id": { "type": "string" }, "edges": { "type": "array", "items": { "type": "object", "properties": { "edge_id": { "type": "string" }, "source": { "type": "string" }, "target": { "type": "string" }, "type": { "type": "string", "enum": [ "hosted_on", "app_to_db", "app_to_app", "app_to_shared_service", "middleware" ] }, "protocol_port": { "type": [ "string", "null" ] }, "evidence": { "type": "array", "items": { "type": "object", "properties": { "kind": { "type": "string", "enum": [ "cmdb_relationship", "declared", "config", "flow", "trace" ] }, "ref": { "type": "string" } }, "required": [ "kind", "ref" ] } }, "confidence": { "type": "number", "minimum": 0, "maximum": 1 }, "validation": { "type": "string", "enum": [ "auto_approved", "sme_review_recommended", "sme_validation_required" ] } }, "required": [ "edge_id", "source", "target", "type", "protocol_port", "evidence", "confidence", "validation" ] } }, "nodes": { "type": "array", "items": { "type": "object", "properties": { "canonical_id": { "type": "string" }, "fan_in": { "type": "integer" }, "fan_out": { "type": "integer" }, "depended_on": { "type": "boolean" }, "retire_constraint": { "type": "string", "enum": [ "none", "cannot_retire_without_mitigation" ] } }, "required": [ "canonical_id", "fan_in", "fan_out", "depended_on", "retire_constraint" ] } }, "orphans": { "type": "array", "items": { "type": "string" } }, "validation_queue": { "type": "array", "items": { "type": "string" } } }, "required": [ "graph_id", "engagement_id", "edges", "nodes", "orphans", "validation_queue" ], "title": "Dependency graph" }