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
34 lines
948 B
JSON
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"]
|
|
}
|
|
}
|
|
}
|