Some checks failed
AOC Guard CI / aoc-guard (push) Has been cancelled
AOC Guard CI / aoc-verify (push) Has been cancelled
Docs CI / lint-and-preview (push) Has been cancelled
Mirror Thin Bundle Sign & Verify / mirror-sign (push) Has been cancelled
api-governance / spectral-lint (push) Has been cancelled
42 lines
1.1 KiB
JSON
42 lines
1.1 KiB
JSON
{
|
|
"$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
|
|
}
|