up
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
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
This commit is contained in:
41
docs/modules/policy/schemas/policy-batch-context@draft.json
Normal file
41
docs/modules/policy/schemas/policy-batch-context@draft.json
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"$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
|
||||
}
|
||||
Reference in New Issue
Block a user