changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "additionalProperties": false,
+ "properties": {
+ "decision": {
+ "enum": [
+ "ALLOW",
+ "REVIEW",
+ "BLOCK"
+ ],
+ "type": "string"
+ },
+ "explanation": {
+ "type": "string"
+ },
+ "policy_results": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "details": {
+ "additionalProperties": {},
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "reason_code": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "result": {
+ "enum": [
+ "PASS",
+ "REVIEW",
+ "FAIL"
+ ],
+ "type": "string"
+ },
+ "rule_id": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "rule_id",
+ "result",
+ "reason_code",
+ "details"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "reason_codes": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "receipt": {
+ "additionalProperties": false,
+ "properties": {
+ "authority_provenance": {
+ "enum": [
+ "principal_signed",
+ "trusted_integration",
+ "unverified"
+ ],
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "decision": {
+ "enum": [
+ "ALLOW",
+ "REVIEW",
+ "BLOCK"
+ ],
+ "type": "string"
+ },
+ "grant": {
+ "additionalProperties": false,
+ "properties": {
+ "expires_at": {
+ "type": "string"
+ },
+ "issuer": {
+ "type": "string"
+ },
+ "jti": {
+ "type": "string"
+ },
+ "key_id": {
+ "type": "string"
+ },
+ "subject": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "jti",
+ "issuer",
+ "subject",
+ "key_id",
+ "expires_at"
+ ],
+ "type": "object"
+ },
+ "id": {
+ "type": "string"
+ },
+ "policy_rule_ids": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "reason_codes": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "request_hash": {
+ "type": "string"
+ },
+ "risk_score": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "id",
+ "created_at",
+ "request_hash",
+ "decision",
+ "risk_score",
+ "policy_rule_ids",
+ "reason_codes",
+ "authority_provenance"
+ ],
+ "type": "object"
+ },
+ "risk_score": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "decision",
+ "risk_score",
+ "reason_codes",
+ "explanation",
+ "policy_results",
+ "receipt"
+ ],
+ "type": "object"
+}