changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "additionalProperties": false,
+ "properties": {
+ "action_digest": {
+ "description": "SHA-256 of hanria-action-v1 followed by the action's canonical JSON.",
+ "type": "string"
+ },
+ "clause": {
+ "description": "The clause that decided, when one did.",
+ "type": "string"
+ },
+ "clause_note": {
+ "type": "string"
+ },
+ "mandate_ref": {
+ "type": "string"
+ },
+ "outcome": {
+ "description": "Treat error as deny.",
+ "enum": [
+ "permit",
+ "deny",
+ "escalate",
+ "error"
+ ],
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "receipt": {
+ "additionalProperties": false,
+ "description": "Ed25519-signed receipt binding the outcome to this action and mandate for 15 minutes. Keys and the signed-bytes rule: https://check.hanria.ai/.well-known/hanria-receipt-keys.json",
+ "properties": {
+ "action_digest": {
+ "type": "string"
+ },
+ "clause": {
+ "type": "string"
+ },
+ "issued_at": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "kid": {
+ "type": "string"
+ },
+ "mandate_digest": {
+ "type": "string"
+ },
+ "mandate_ref": {
+ "type": "string"
+ },
+ "not_after": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "outcome": {
+ "enum": [
+ "permit",
+ "deny",
+ "escalate"
+ ],
+ "type": "string"
+ },
+ "signature": {
+ "type": "string"
+ },
+ "type": {
+ "const": "hanria-receipt-v1",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "kid",
+ "outcome",
+ "action_digest",
+ "mandate_digest",
+ "issued_at",
+ "not_after",
+ "signature"
+ ],
+ "type": "object"
+ },
+ "schema_version": {
+ "const": "0.1-draft",
+ "type": "string"
+ }
+ },
+ "required": [
+ "schema_version",
+ "outcome",
+ "reason"
+ ],
+ "type": "object"
+}