{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "policy-batch-context@draft", "type": "object", "properties": { "tenant_id": { "type": "string", "minLength": 1 }, "policy_profile_hash": { "type": "string", "minLength": 1 }, "knobs_version": { "type": "string", "minLength": 1 }, "overlay_hash": { "type": "string", "minLength": 1 }, "items": { "type": "array", "items": { "type": "object", "properties": { "component_purl": { "type": "string", "minLength": 1 }, "advisory_id": { "type": "string", "minLength": 1 } }, "required": ["component_purl", "advisory_id"], "additionalProperties": false }, "minItems": 1 }, "options": { "type": "object", "properties": { "include_reachability": { "type": "boolean" } }, "required": ["include_reachability"], "additionalProperties": false } }, "required": [ "tenant_id", "policy_profile_hash", "knobs_version", "overlay_hash", "items", "options" ], "additionalProperties": false }