{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "patternProperties": { "^[a-z][a-z0-9-]{0,61}[a-z0-9]$": { "type": "object", "properties": { "max_request_duration": { "type": "string" }, "eligible_users": { "type": "array", "items": { "type": "string" } }, "privileged_access": { "type": "array", "items": { "type": "object", "properties": { "role": { "type": "string" }, "condition": { "type": "string" } }, "required": [ "role" ], "additionalProperties": false } }, "requester_justification_config": { "type": "object", "properties": { "not_mandatory": { "type": "boolean" }, "unstructured": { "type": "boolean" } }, "additionalProperties": false }, "manual_approvals": { "type": "object", "properties": { "require_approver_justification": { "type": "boolean" }, "steps": { "type": "array", "items": { "type": "object", "properties": { "approvers": { "type": "array", "items": { "type": "string" } }, "approvals_needed": { "type": "number" }, "approver_email_recipients": { "type": "array", "items": { "type": "string" } } }, "required": [ "approvers" ], "additionalProperties": false } } }, "required": [ "require_approver_justification", "steps" ], "additionalProperties": false }, "additional_notification_targets": { "type": "object", "properties": { "admin_email_recipients": { "type": "array", "items": { "type": "string" } }, "requester_email_recipients": { "type": "array", "items": { "type": "string" } } }, "additionalProperties": false } }, "required": [ "max_request_duration", "eligible_users", "privileged_access" ], "additionalProperties": false } }, "additionalProperties": false }