addedOutput schema / $defs / QuotePolicy
Added value: +{
+ "additionalProperties": false,
+ "description": "The policy verdict for one quote: the server's own evaluation of this exact send.",
+ "properties": {
+ "approval_required": {
+ "description": "Whether a person must approve this quote before send_approved_fax accepts it.",
+ "title": "Approval Required",
+ "type": "boolean"
+ },
+ "decision": {
+ "enum": [
+ "allow",
+ "deny"
+ ],
+ "title": "Decision",
+ "type": "string"
+ },
+ "policy_id": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Policy Id"
+ },
+ "policy_name": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Policy Name"
+ },
+ "policy_version_id": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Policy Version Id"
+ },
+ "reason": {
+ "title": "Reason",
+ "type": "string"
+ },
+ "rule": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "The first failing rule when denied by a policy.",
+ "title": "Rule"
+ },
+ "version": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Version"
+ }
+ },
+ "required": [
+ "decision",
+ "reason",
+ "approval_required"
+ ],
+ "title": "QuotePolicy",
+ "type": "object"
+}