{ "$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"] } } }