changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "additionalProperties": true,
+ "anyOf": [
+ {
+ "required": [
+ "contract",
+ "ready_to_buy",
+ "ready_for_paid_analysis",
+ "charged",
+ "challenge_sha256",
+ "challenge_hash_basis",
+ "paid_tool",
+ "required_policy",
+ "target_network_called",
+ "wallet_accessed",
+ "target_payment_attempted",
+ "price"
+ ]
+ },
+ {
+ "required": [
+ "error"
+ ]
+ }
+ ],
+ "description": "Structured result contract for prepare_x402_purchase_guard. A success satisfies the documented success branch. A domain or tool error includes error and is not a successful settlement; unpaid x402 requirements are carried by the transport wrapper.",
+ "properties": {
+ "accepted": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "challenge_hash_basis": {
+ "type": "string"
+ },
+ "challenge_sha256": {
+ "type": "string"
+ },
+ "charged": {
+ "type": "boolean"
+ },
+ "contract": {
+ "type": "string"
+ },
+ "did_you_mean": {
+ "additionalProperties": true,
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "error": {
+ "oneOf": [
+ {
+ "type": "string"
+ },
+ {
+ "additionalProperties": true,
+ "properties": {
+ "code": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "message": {
+ "type": "string"
+ },
+ "param": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "message"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "error_code": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "missing": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "missing_checks": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "paid_tool": {
+ "type": "string"
+ },
+ "partial_evidence": {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ "price": {
+ "const": "free",
+ "description": "No payment is required for this tool.",
+ "type": "string"
+ },
+ "ready_for_paid_analysis": {
+ "type": "boolean"
+ },
+ "ready_to_buy": {
+ "type": "boolean"
+ },
+ "required_policy": {
+ "items": {},
+ "type": "array"
+ },
+ "retryable": {
+ "type": "boolean"
+ },
+ "settled": {
+ "description": "When present on an error, false means no settlement occurred.",
+ "type": "boolean"
+ },
+ "status_code": {
+ "type": "integer"
+ },
+ "target_network_called": {
+ "type": "boolean"
+ },
+ "target_payment_attempted": {
+ "type": "boolean"
+ },
+ "tool": {
+ "type": "string"
+ },
+ "unknown": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "wallet_accessed": {
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+}