changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "adverseMediaCheck": {
- "additionalProperties": false,
- "properties": {
- "data": {},
- "error": {},
- "success": {
- "type": "boolean"
- }
- },
- "required": [
- "success"
- ],
- "type": "object"
- },
- "businessRiskCheck": {
- "additionalProperties": false,
- "properties": {
- "data": {},
- "error": {},
- "success": {
- "type": "boolean"
- }
- },
- "required": [
- "success"
- ],
- "type": "object"
- },
- "checks": {
- "additionalProperties": {
- "type": "boolean"
- },
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "company": {
- "additionalProperties": false,
- "properties": {
- "country": {
- "type": [
- "string",
- "null"
- ]
- },
- "domain": {
- "type": [
- "string",
- "null"
- ]
- },
- "name": {
- "type": "string"
- },
- "registrationNumber": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "name",
- "domain",
- "country",
- "registrationNumber"
- ],
- "type": "object"
- },
- "confidence": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "coverage": {
- "additionalProperties": {
- "enum": [
- "complete",
- "partial",
- "unavailable",
- "not_checked"
- ],
- "type": "string"
- },
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "decision": {
- "additionalProperties": false,
- "properties": {
- "action": {
- "enum": [
- "continue_onboarding",
- "continue_with_enhanced_checks",
- "request_additional_documents",
- "manual_review_required",
- "reject_due_to_sanctions",
- "reject_due_to_identity_mismatch",
- "reject_due_to_material_risk",
- "insufficient_data"
- ],
- "type": "string"
- },
- "requiresHumanReview": {
- "type": "boolean"
- }
- },
- "required": [
- "action",
- "requiresHumanReview"
- ],
- "type": "object"
- },
- "depth": {
- "enum": [
- "quick",
- "standard",
- "enhanced"
- ],
- "type": "string"
- },
- "entityMatch": {
- "additionalProperties": false,
- "properties": {
- "confidence": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "matchedOn": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "status": {
- "enum": [
- "matched",
- "probable",
- "unverified"
- ],
- "type": "string"
- }
- },
- "required": [
- "status",
- "confidence",
- "matchedOn"
- ],
- "type": "object"
- },
- "entityResolution": {
- "additionalProperties": false,
- "properties": {
- "candidateCount": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "confidence": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "matchedIdentifiers": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "status": {
- "enum": [
- "resolved",
- "ambiguous",
- "unresolved"
- ],
- "type": "string"
- }
- },
- "required": [
- "status",
- "confidence",
- "matchedIdentifiers",
- "candidateCount"
- ],
- "type": "object"
- },
- "evidence": {
- "items": {},
- "type": "array"
- },
- "financialSignals": {
- "additionalProperties": false,
- "properties": {
- "signals": {
- "items": {},
- "type": "array"
- },
- "status": {
- "enum": [
- "available",
- "limited_data",
- "unavailable"
- ],
- "type": "string"
- }
- },
- "required": [
- "status",
- "signals"
- ],
- "type": "object"
- },
- "generatedAt": {
- "type": "string"
- },
- "legalSignals": {
- "items": {},
- "type": "array"
- },
- "management": {
- "items": {},
- "type": "array"
- },
- "negativeNews": {
- "additionalProperties": false,
- "properties": {
- "items": {
- "items": {},
- "type": "array"
- },
- "materialCount": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "materialCount",
- "items"
- ],
- "type": "object"
- },
- "providers": {
- "items": {},
- "type": "array"
- },
- "purpose": {
- "type": "string"
- },
- "reasonCodes": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "recommendation": {
- "enum": [
- "proceed",
- "proceed_with_standard_checks",
- "manual_review_required",
- "enhanced_due_diligence_required",
- "reject_counterparty",
- "insufficient_data"
- ],
- "type": "string"
- },
- "redFlags": {
- "items": {},
- "type": "array"
- },
- "registration": {
- "additionalProperties": false,
- "properties": {
- "incorporatedAt": {
- "type": [
- "string",
- "null"
- ]
- },
- "source": {
- "type": [
- "string",
- "null"
- ]
- },
- "status": {
- "enum": [
- "active",
- "inactive",
- "dissolved",
- "liquidation",
- "unknown",
- "not_verified"
- ],
- "type": "string"
- }
- },
- "required": [
- "status",
- "incorporatedAt",
- "source"
- ],
- "type": "object"
- },
- "registrationCheck": {
- "additionalProperties": false,
- "properties": {
- "data": {},
- "error": {},
- "success": {
- "type": "boolean"
- }
- },
- "required": [
- "success"
- ],
- "type": "object"
- },
- "reputation": {
- "additionalProperties": false,
- "properties": {
- "risk": {
- "anyOf": [
- {
- "enum": [
- "low",
- "moderate",
- "high",
- "critical"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "score": {
- "anyOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "score",
- "risk"
- ],
- "type": "object"
- },
- "reputationCheck": {
- "additionalProperties": false,
- "properties": {
- "data": {},
- "error": {},
- "success": {
- "type": "boolean"
- }
- },
- "required": [
- "success"
- ],
- "type": "object"
- },
- "riskBreakdown": {
- "additionalProperties": false,
- "properties": {
- "financial": {
- "anyOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "identity": {
- "anyOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "legal": {
- "anyOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "negativeNews": {
- "anyOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "registration": {
- "anyOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "reputation": {
- "anyOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "sanctions": {
- "anyOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "identity",
- "registration",
- "sanctions",
- "legal",
- "negativeNews",
- "financial",
- "reputation"
- ],
- "type": "object"
- },
- "riskLevel": {
- "anyOf": [
- {
- "enum": [
- "low",
- "moderate",
- "high",
- "critical"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "riskScore": {
- "anyOf": [
- {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "sanctions": {
- "additionalProperties": false,
- "properties": {
- "listsChecked": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "listsUnavailable": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "matches": {
- "items": {},
- "type": "array"
- },
- "status": {
- "enum": [
- "clear",
- "potential_match",
- "confirmed_match",
- "not_checked",
- "unavailable"
- ],
- "type": "string"
- }
- },
- "required": [
- "status",
- "matches",
- "listsChecked",
- "listsUnavailable"
- ],
- "type": "object"
- },
- "sanctionsCheck": {
- "additionalProperties": false,
- "properties": {
- "data": {},
- "error": {},
- "success": {
- "type": "boolean"
- }
- },
- "required": [
- "success"
- ],
- "type": "object"
- },
- "sources": {
- "items": {},
- "type": "array"
- },
- "success": {
- "const": true,
- "type": "boolean"
- },
- "websiteSignals": {
- "additionalProperties": false,
- "properties": {
- "businessIdentityMatch": {
- "type": [
- "boolean",
- "null"
- ]
- },
- "confidence": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "domainAgeYears": {
- "anyOf": [
- {
- "minimum": 0,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "ssl": {
- "type": [
- "boolean",
- "null"
- ]
- }
- },
- "required": [
- "domainAgeYears",
- "ssl",
- "businessIdentityMatch",
- "confidence"
- ],
- "type": "object"
- }
- },
- "required": [
- "success",
- "company",
- "purpose",
- "depth",
- "checks",
- "entityResolution",
- "registrationCheck",
- "sanctionsCheck",
- "adverseMediaCheck",
- "reputationCheck",
- "businessRiskCheck",
- "entityMatch",
- "registration",
- "websiteSignals",
- "management",
- "sanctions",
- "legalSignals",
- "negativeNews",
- "financialSignals",
- "reputation",
- "riskScore",
- "riskLevel",
- "confidence",
- "riskBreakdown",
- "redFlags",
- "recommendation",
- "reasonCodes",
- "sources",
- "decision",
- "evidence",
- "coverage",
- "providers",
- "generatedAt"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "nextAction": {
- "additionalProperties": false,
- "properties": {
- "instruction": {
- "type": "string"
- },
- "target": {
- "const": "x402_endpoint",
- "type": "string"
- },
- "type": {
- "const": "pay_and_retry",
- "type": "string"
- }
- },
- "required": [
- "type",
- "target",
- "instruction"
- ],
- "type": "object"
- },
- "payment": {
- "additionalProperties": false,
- "properties": {
- "endpoint": {
- "type": "string"
- },
- "method": {
- "const": "POST",
- "type": "string"
- },
- "retrySameBody": {
- "const": true,
- "type": "boolean"
- }
- },
- "required": [
- "endpoint",
- "method",
- "retrySameBody"
- ],
- "type": "object"
- },
- "preview": {
- "additionalProperties": false,
- "properties": {
- "fullResultAvailable": {
- "const": true,
- "type": "boolean"
- },
- "inputAccepted": {
- "const": true,
- "type": "boolean"
- },
- "summary": {
- "type": "string"
- },
- "useCases": {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "inputAccepted",
- "fullResultAvailable",
- "summary",
- "useCases"
- ],
- "type": "object"
- },
- "price": {
- "additionalProperties": false,
- "properties": {
- "amount": {
- "minimum": 0,
- "type": "number"
- },
- "currency": {
- "type": "string"
- },
- "protocol": {
- "const": "x402",
- "type": "string"
- }
- },
- "required": [
- "amount",
- "currency",
- "protocol"
- ],
- "type": "object"
- },
- "requestId": {
- "type": "string"
- },
- "status": {
- "const": "payment_required",
- "type": "string"
- },
- "tool": {
- "type": "string"
- }
- },
- "required": [
- "status",
- "tool",
- "requestId",
- "price",
- "preview",
- "payment",
- "nextAction"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "adverseMediaCheck": {
+ "additionalProperties": false,
+ "properties": {
+ "data": {},
+ "error": {},
+ "success": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "success"
+ ],
+ "type": "object"
+ },
+ "businessRiskCheck": {
+ "additionalProperties": false,
+ "properties": {
+ "data": {},
+ "error": {},
+ "success": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "success"
+ ],
+ "type": "object"
+ },
+ "checks": {
+ "additionalProperties": {
+ "type": "boolean"
+ },
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "company": {
+ "additionalProperties": false,
+ "properties": {
+ "country": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "domain": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "name": {
+ "type": "string"
+ },
+ "registrationNumber": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "name",
+ "domain",
+ "country",
+ "registrationNumber"
+ ],
+ "type": "object"
+ },
+ "confidence": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "coverage": {
+ "additionalProperties": {
+ "enum": [
+ "complete",
+ "partial",
+ "unavailable",
+ "not_checked"
+ ],
+ "type": "string"
+ },
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "decision": {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "enum": [
+ "continue_onboarding",
+ "continue_with_enhanced_checks",
+ "request_additional_documents",
+ "manual_review_required",
+ "reject_due_to_sanctions",
+ "reject_due_to_identity_mismatch",
+ "reject_due_to_material_risk",
+ "insufficient_data"
+ ],
+ "type": "string"
+ },
+ "requiresHumanReview": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "action",
+ "requiresHumanReview"
+ ],
+ "type": "object"
+ },
+ "depth": {
+ "enum": [
+ "quick",
+ "standard",
+ "enhanced"
+ ],
+ "type": "string"
+ },
+ "entityMatch": {
+ "additionalProperties": false,
+ "properties": {
+ "confidence": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "matchedOn": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "status": {
+ "enum": [
+ "matched",
+ "probable",
+ "unverified"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "confidence",
+ "matchedOn"
+ ],
+ "type": "object"
+ },
+ "entityResolution": {
+ "additionalProperties": false,
+ "properties": {
+ "candidateCount": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "confidence": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "matchedIdentifiers": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "status": {
+ "enum": [
+ "resolved",
+ "ambiguous",
+ "unresolved"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "confidence",
+ "matchedIdentifiers",
+ "candidateCount"
+ ],
+ "type": "object"
+ },
+ "evidence": {
+ "items": {},
+ "type": "array"
+ },
+ "financialSignals": {
+ "additionalProperties": false,
+ "properties": {
+ "signals": {
+ "items": {},
+ "type": "array"
+ },
+ "status": {
+ "enum": [
+ "available",
+ "limited_data",
+ "unavailable"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "signals"
+ ],
+ "type": "object"
+ },
+ "generatedAt": {
+ "type": "string"
+ },
+ "legalSignals": {
+ "items": {},
+ "type": "array"
+ },
+ "management": {
+ "items": {},
+ "type": "array"
+ },
+ "negativeNews": {
+ "additionalProperties": false,
+ "properties": {
+ "items": {
+ "items": {},
+ "type": "array"
+ },
+ "materialCount": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "materialCount",
+ "items"
+ ],
+ "type": "object"
+ },
+ "providers": {
+ "items": {},
+ "type": "array"
+ },
+ "purpose": {
+ "type": "string"
+ },
+ "reasonCodes": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "recommendation": {
+ "enum": [
+ "proceed",
+ "proceed_with_standard_checks",
+ "manual_review_required",
+ "enhanced_due_diligence_required",
+ "reject_counterparty",
+ "insufficient_data"
+ ],
+ "type": "string"
+ },
+ "redFlags": {
+ "items": {},
+ "type": "array"
+ },
+ "registration": {
+ "additionalProperties": false,
+ "properties": {
+ "incorporatedAt": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "source": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "status": {
+ "enum": [
+ "active",
+ "inactive",
+ "dissolved",
+ "liquidation",
+ "unknown",
+ "not_verified"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "incorporatedAt",
+ "source"
+ ],
+ "type": "object"
+ },
+ "registrationCheck": {
+ "additionalProperties": false,
+ "properties": {
+ "data": {},
+ "error": {},
+ "success": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "success"
+ ],
+ "type": "object"
+ },
+ "reputation": {
+ "additionalProperties": false,
+ "properties": {
+ "risk": {
+ "anyOf": [
+ {
+ "enum": [
+ "low",
+ "moderate",
+ "high",
+ "critical"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "score": {
+ "anyOf": [
+ {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "score",
+ "risk"
+ ],
+ "type": "object"
+ },
+ "reputationCheck": {
+ "additionalProperties": false,
+ "properties": {
+ "data": {},
+ "error": {},
+ "success": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "success"
+ ],
+ "type": "object"
+ },
+ "riskBreakdown": {
+ "additionalProperties": false,
+ "properties": {
+ "financial": {
+ "anyOf": [
+ {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "identity": {
+ "anyOf": [
+ {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "legal": {
+ "anyOf": [
+ {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "negativeNews": {
+ "anyOf": [
+ {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "registration": {
+ "anyOf": [
+ {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "reputation": {
+ "anyOf": [
+ {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "sanctions": {
+ "anyOf": [
+ {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "identity",
+ "registration",
+ "sanctions",
+ "legal",
+ "negativeNews",
+ "financial",
+ "reputation"
+ ],
+ "type": "object"
+ },
+ "riskLevel": {
+ "anyOf": [
+ {
+ "enum": [
+ "low",
+ "moderate",
+ "high",
+ "critical"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "riskScore": {
+ "anyOf": [
+ {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "sanctions": {
+ "additionalProperties": false,
+ "properties": {
+ "listsChecked": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "listsUnavailable": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "matches": {
+ "items": {},
+ "type": "array"
+ },
+ "status": {
+ "enum": [
+ "clear",
+ "potential_match",
+ "confirmed_match",
+ "not_checked",
+ "unavailable"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "matches",
+ "listsChecked",
+ "listsUnavailable"
+ ],
+ "type": "object"
+ },
+ "sanctionsCheck": {
+ "additionalProperties": false,
+ "properties": {
+ "data": {},
+ "error": {},
+ "success": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "success"
+ ],
+ "type": "object"
+ },
+ "sources": {
+ "items": {},
+ "type": "array"
+ },
+ "success": {
+ "const": true,
+ "type": "boolean"
+ },
+ "websiteSignals": {
+ "additionalProperties": false,
+ "properties": {
+ "businessIdentityMatch": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "confidence": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "domainAgeYears": {
+ "anyOf": [
+ {
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "ssl": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "domainAgeYears",
+ "ssl",
+ "businessIdentityMatch",
+ "confidence"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "success",
+ "company",
+ "purpose",
+ "depth",
+ "checks",
+ "entityResolution",
+ "registrationCheck",
+ "sanctionsCheck",
+ "adverseMediaCheck",
+ "reputationCheck",
+ "businessRiskCheck",
+ "entityMatch",
+ "registration",
+ "websiteSignals",
+ "management",
+ "sanctions",
+ "legalSignals",
+ "negativeNews",
+ "financialSignals",
+ "reputation",
+ "riskScore",
+ "riskLevel",
+ "confidence",
+ "riskBreakdown",
+ "redFlags",
+ "recommendation",
+ "reasonCodes",
+ "sources",
+ "decision",
+ "evidence",
+ "coverage",
+ "providers",
+ "generatedAt"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "nextAction": {
+ "additionalProperties": false,
+ "properties": {
+ "instruction": {
+ "type": "string"
+ },
+ "target": {
+ "enum": [
+ "x402_endpoint",
+ "mcp_credits_endpoint",
+ "payment_endpoint",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "pay_and_retry",
+ "authorize_and_use_mcp_credits",
+ "payment_unavailable"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "target",
+ "instruction"
+ ],
+ "type": "object"
+ },
+ "payment": {
+ "additionalProperties": false,
+ "properties": {
+ "endpoint": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "method": {
+ "const": "POST",
+ "type": "string"
+ },
+ "retrySameBody": {
+ "const": true,
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "endpoint",
+ "method",
+ "retrySameBody"
+ ],
+ "type": "object"
+ },
+ "paymentGuidance": {},
+ "preview": {
+ "additionalProperties": false,
+ "properties": {
+ "fullResultAvailable": {
+ "const": true,
+ "type": "boolean"
+ },
+ "inputAccepted": {
+ "const": true,
+ "type": "boolean"
+ },
+ "summary": {
+ "type": "string"
+ },
+ "useCases": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "inputAccepted",
+ "fullResultAvailable",
+ "summary",
+ "useCases"
+ ],
+ "type": "object"
+ },
+ "price": {
+ "additionalProperties": false,
+ "properties": {
+ "amount": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "currency": {
+ "type": "string"
+ },
+ "protocol": {
+ "enum": [
+ "x402",
+ "api_credits",
+ "subscription",
+ "l402",
+ "mpp",
+ "unavailable"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "amount",
+ "currency",
+ "protocol"
+ ],
+ "type": "object"
+ },
+ "requestId": {
+ "type": "string"
+ },
+ "status": {
+ "const": "payment_required",
+ "type": "string"
+ },
+ "tool": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "tool",
+ "requestId",
+ "price",
+ "preview",
+ "payment",
+ "nextAction"
+ ],
+ "type": "object"
+ }
+]