TenantAtlas/specs/047-inventory-foundations-nodes/contracts/inventory-coverage.schema.json
ahmido 9c56a2349a feat/047-inventory-foundations-nodes (#51)
Adds Inventory Sync toggle include_foundations (default true) + persistence tests
Adds Coverage “Dependencies” column (/—) derived deterministically from graph_contracts (no Graph calls)
Spec/tasks/checklists updated + tasks ticked off

Co-authored-by: Ahmed Darrazi <ahmeddarrazi@adsmac.local>
Reviewed-on: #51
2026-01-10 20:47:29 +00:00

34 lines
948 B
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://tenantpilot.local/contracts/inventory-coverage.schema.json",
"title": "Inventory Coverage View Model",
"type": "object",
"additionalProperties": false,
"properties": {
"supportedPolicyTypes": {
"type": "array",
"items": { "$ref": "#/$defs/typeMeta" }
},
"foundationTypes": {
"type": "array",
"items": { "$ref": "#/$defs/typeMeta" }
}
},
"required": ["supportedPolicyTypes", "foundationTypes"],
"$defs": {
"typeMeta": {
"type": "object",
"additionalProperties": true,
"properties": {
"type": { "type": "string" },
"label": { "type": "string" },
"category": { "type": "string" },
"platform": { "type": "string" },
"restore": { "type": "string" },
"risk": { "type": "string" }
},
"required": ["type", "label", "category"]
}
}
}